cordova-plugin-native-keyboard
cordova-plugin-native-keyboard copied to clipboard
Why my header is scrolling when the keyboard open ?
Hi, I have installed the plugin and I think this plugin is Exactly what I'm looking for ! But, I'm unable to prevent the header to to scroll when keyboard is open. I don't understand why cos on the video Eddy made, the header bar is not scrolling. Tested on Android device.
I've tried to install the ionic-keyboard and disable scroll with keyboard.disableScroll(true) but it does not work.
Any help would be appreciated.
having same issue.
Same issue. Tried quite a bit to address it.
Me too.
I've seen this issue happen on my end, however if this plugin: https://github.com/ionic-team/cordova-plugin-ionic-keyboard
<preference name="KeyboardResizeMode" value="ionic" />
in your config.xml
you can create global listeners on keyboard open and close, and it appears to work.
If i use scrollToBottomAfterMessengerShows
or autoscrollElement
, then the header goes away for me at least.
I use the keyboard plugin from Ionic ,to scroll down after the keyboard is loaded, and it works for me.
I will note here that, while this work around does work - you need to write logic to scroll down as messages are added to the dom, and at high timeout. You can't use use scrollToBottomAfterMessengerShows
or autoscrollElement
.