Open benmcmaster opened 8 years ago
confirm, same for me Nexus 7 Android 6, but seems like height includes height of status bar.
@benmcmaster this should be resolved now after my PR https://github.com/driftyco/ionic-plugin-keyboard/pull/199 has been merged.
@leschirmeur Awesome! Thanks. Will there be a new release?
I guess so. Until then you just reference the commit directly
Awesome! Thanks. I usually point to this plugin via npm from Phonegap Build. I'll be watching for the release. Thanks!
Hey all, new release with the fix (2.2.1) should be out as of yesterday.
Nexus 5 (Android 5.1.1)
The keyboard height includes the height of the system soft menu button bar at the bottom of the screen (back, home, menu).
The keyboard height returns 311 px. That includes the 48px soft menu bar at the bottom. The keyboard height should be 263px (in my case).
When viewed on my Samsung S6 they keyboard height is correct because that phone doesn't have the soft menu button bar at the bottom. It has hard menu buttons off-screen.
Does anyone know of a work around? Is there a way to detect the presence of soft menu buttons at the bottom in Cordova?
Using Cordova 5.1.0 for Android with Crosswalk 1.5.0 (PGB) and:
reference similar issue: https://github.com/driftyco/ionic-plugin-keyboard/issues/160