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

keyboardViewportHeight is set to 0 on ionic.Platform.ready for android 4.4.2 (Samsung S4) #2168

Closed
kuldeepJadhav opened this issue Sep 9, 2014 · 2 comments

Comments

@kuldeepJadhav
Copy link

In ionic.Platform.ready, the keyboardUpdateViewportHeight is called, in which the keyboardViewportHeight is set to window.innerHeight.

In Android version 4.4.2 Samsung S4, window.innerHeight is always returned 0.

When I used scree.height instead of window.innerHeight in keyboardUpdateViewportHeight function, I was getting the correct value.

We are using Ionic, v1.0.0-beta.11-nightly-421

@adamdbradley
Copy link
Contributor

Please give the latest nightly build a test and let me know if it didn't solve the issue (or caused new ones). Thanks

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants