You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On certain devices (Dallas helped me test it on his Galaxy S10 as I could not replicate it on the Pixel devices I have), the @ionic-enterprise/keyboard plugin will report the height of the keyboard as one value, and the Capacitor plugin will report a different value.
For Dallas it was:
Cordova: 333
Capacitor: 375
The customer had similar results. In both cases, the larger Capacitor number appears to be the correct value.
@mattnick89 - there is a premier version of this plugin and it has been fixed there. Apparently, the same PR has not made its way in to the community version of the plugin, though it is marked as a future TODO (see the projects to the right). That team, however, is currently focused heavily on getting Capacitor v3 out the door.
The PR for the premier plugin was based on the following PR for Capacitor: ionic-team/capacitor#2924
On certain devices (Dallas helped me test it on his Galaxy S10 as I could not replicate it on the Pixel devices I have), the @ionic-enterprise/keyboard plugin will report the height of the keyboard as one value, and the Capacitor plugin will report a different value.
For Dallas it was:
Cordova: 333
Capacitor: 375
The customer had similar results. In both cases, the larger Capacitor number appears to be the correct value.
To replicate this, I created the following app: https://github.com/kensodemann/test-keyboard-height
There are two useful branches here:
cordova: Cordova app, uses @ionic-enterprise/keyboard
capacitor: Capacitor app, uses Capacitor Keyboard API plugin
The text was updated successfully, but these errors were encountered: