ionic-team / ionic-plugin-keyboard

Ionic Keyboard Plugin for Cordova
Apache License 2.0
610 stars 274 forks source link

WebView forced up on iOS when keyboard slides up #171

Closed adir1 closed 8 years ago

adir1 commented 8 years ago

Can be recreated consistently on the phone, but not consistently in the emulator. Here is the screenshot - I tried to recreate with Ionic-Chat sample and with started tabs app, but seems to work there. Also works fine in most of the places in the rest of our app, but on that chat screen (which is essentially clone of Ionic-Chat) it happens most of the time. You can see that entire WebView is pushed up because Tabs also jump above keyboard, which should not happen. I also noticed that on older devices (emulated) - it consistently works fine, no issues at all. This screenshot is from iPhone 6 emulation (on 6s plus emulator also happens). simulator screen shot feb 14 2016 11 14 22 pm

adir1 commented 8 years ago

Looks like cordova.plugins.Keyboard.disableScroll(true); was missing. It worked fine on most screens, except that one i posted above. Interestingly putting it in resolves the issue, for now.