# Problems using the cordova keyboar plugin

**URL:** <https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892>\
**Category:** ionic-v1\
**Created:** [February 6, 2014, 4:00pm UTC](https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892 "2014-02-06T16:00:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![moh](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@moh](https://forum.ionicframework.com/u/moh)\
**Post date:** [February 6, 2014, 4:00pm UTC](https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892/1 "2014-02-06T16:00:47Z")

</div>

When using the [cordova keyboard plugin](https://github.com/apache/cordova-plugins/tree/master/keyboard) in order to get rid of the form accessory bar, the bar is gone, but it leaves a black bar. Has anybody used that plugin with ionic and experienced the same problem?

---

<div class="post-metadata">

**Author:** ![tim](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tim/32/7550_2.png) [@tim](https://forum.ionicframework.com/u/tim)\
**Post date:** [February 6, 2014, 5:27pm UTC](https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892/2 "2014-02-06T17:27:37Z")

</div>

[https://issues.apache.org/jira/browse/CB-3020](https://issues.apache.org/jira/browse/CB-3020)

I don’t think anyone has successfully used the plugin. Ever. Seriously though, if you can get it to work please let us know.

In the meantime, are you calling Keyboard.shrinkView(true)? That usually fixes the black bar problem, but at least in my experience introduces a host of other issues.

Other fixes include adding `height=device-height` to your meta tag, but again this can cause other issues and I believe Cordova specifically recommends not doing this (I’m trying to find the link because I can’t remember why).

EDIT: Found it: [http://cordova.apache.org/docs/en/3.3.0/guide\_platforms\_ios\_upgrading.md.html#Upgrading%20iOS](http://cordova.apache.org/docs/en/3.3.0/guide_platforms_ios_upgrading.md.html#Upgrading%20iOS) (under iOS 7 issues), relevant bug: [https://issues.apache.org/jira/browse/CB-4323](https://issues.apache.org/jira/browse/CB-4323). Seems like it’s only a problem for iPad support.

---

<div class="post-metadata">

**Author:** ![udi](https://avatars.discourse-cdn.com/v4/letter/u/8dc957/32.png) [@udi](https://forum.ionicframework.com/u/udi)\
**Post date:** [March 11, 2014, 10:36pm UTC](https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892/3 "2014-03-11T22:36:00Z")

</div>

I tried installing this plugin (to know when keyboard is showing or not showing) and had no luck. I can’t get the global variable Keyboard to exist. Do I need to inject it somehow? Any ideas? Thanks

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [March 12, 2014, 4:54am UTC](https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892/4 "2014-03-12T04:54:17Z")

</div>

I dabbled with it as well a while back. It caused all kinds of issues. Where the “next” and “done” buttons go, a white box appeared that I could never get rid of.

If you have any success, please let us know.

---

<div class="post-metadata">

**Author:** ![AshConnell](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ashconnell/32/64477_2.png) [@AshConnell](https://forum.ionicframework.com/u/AshConnell)\
**Post date:** [May 1, 2014, 7:38am UTC](https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892/5 "2014-05-01T07:38:10Z")

</div>

@tim @max i noticed you guys have your own fork of the cordova keyboard plugin, do you recommend we use this yet?

---

<div class="post-metadata">

**Author:** ![tim](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tim/32/7550_2.png) [@tim](https://forum.ionicframework.com/u/tim)\
**Post date:** [May 1, 2014, 4:41pm UTC](https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892/6 "2014-05-01T16:41:52Z")

</div>

Yep we made it public so people could start using it, please let us know about any issues you have.

---

<div class="post-metadata">

**Author:** ![udi](https://avatars.discourse-cdn.com/v4/letter/u/8dc957/32.png) [@udi](https://forum.ionicframework.com/u/udi)\
**Post date:** [May 1, 2014, 6:59pm UTC](https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892/7 "2014-05-01T18:59:17Z")

</div>

Where can we find this fork? Thanks

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [May 1, 2014, 7:22pm UTC](https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892/8 "2014-05-01T19:22:31Z")

</div>

> **[ionic-team/ionic-plugin-keyboard](https://github.com/ionic-team/ionic-plugin-keyboard)**
>
> ionic-plugin-keyboard - Ionic Keyboard Plugin for Cordova

---

<div class="post-metadata">

**Author:** ![AshConnell](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ashconnell/32/64477_2.png) [@AshConnell](https://forum.ionicframework.com/u/AshConnell)\
**Post date:** [May 2, 2014, 12:50am UTC](https://forum.ionicframework.com/t/problems-using-the-cordova-keyboar-plugin/892/9 "2014-05-02T00:50:09Z")

</div>

I’ve been using it since yesterday specifically so I can remove the accessory bar. It seems really well integrated since you can close the keyboard by clicking outside fields (far more native) and so far, I’d recommend it. Will keep you posted as we move toward production with it.
