ionic-team / ionic-plugin-keyboard

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

Keyboard pushing content on android #261

Open rodrigoreal opened 7 years ago

rodrigoreal commented 7 years ago

He's pushing my content up rather than appear on top of it. I've tried this.keyboard.disableScroll(true); but that is only for iOS and my problem is on Android. https://youtu.be/60IPduNbAJM Anyone have any idea?

michaelyuen commented 7 years ago

Not a bug from my understanding. The reason being that with a longer form, it would generally not be desirable for the keyboard to cover the input - so padding is added to the bottom to ensure the focused input will be in view. You can override this behavior with CSS.

Readme supports this:

This does not prevent any DOM elements from being able to scroll. That needs to happen from CSS and JavaScript, not this plugin.

kamok commented 7 years ago

It's not a bug but there's a config in your config.xml that prevents the keyboard behavior from "moving your content". I forgot which it was, but look at the cordova docs for it. It's a feature.

San10694 commented 7 years ago

@rodrigoreal , did you get any solution? I am facing the same issue. keyboard pushing the content up on focus an input....

premcarver commented 6 years ago

I am facing the same issue. Its like solving one and opening other