Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why my header is scrolling when the keyboard open ? #73

Open
zefrench opened this issue Feb 25, 2018 · 5 comments
Open

Why my header is scrolling when the keyboard open ? #73

zefrench opened this issue Feb 25, 2018 · 5 comments

Comments

@zefrench
Copy link

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.

@kingkarki
Copy link

having same issue.

@marcgille
Copy link

Same issue. Tried quite a bit to address it.

@DaveRand
Copy link

Me too.

@gregavola
Copy link

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.

@gregavola
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants