Skip to content

Incorrect Height Value on some Android devices #157

Open
@kensodemann

Description

@kensodemann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions