I am developing a hybrid application with Cordova. I used vh and vw to lay out my design and size of everything, so that small differences in screen size all work well. My problem is that on Android, when the keyboard opens the vh value, it changes from full screen mode to the part of the screen that is still visible above the keyboard. This does not happen on iOS.
Any ideas on how to get around this? Do I have to completely change my layout strategy to use a different type of dimension in css? Should I determine the screen sizes and then set all the heights using js (which seems horrible)? Any help with best practices would be great.
Thanks,
Scott
source share