Skip to content

[Android Keyboard Height] Page is pushed outside of screen when opening the keyboard after rotation #807

@lavikabel

Description

@lavikabel

Hi,
First of all I must say that I love this plugin, you have done an amazing job and keep supporting it which makes it even more impressive, thanks man.

I have a problem with the calculation of the keyboard height on android.
If I load the page in portrait mode and then rotating to landscape opening the keyboard will push the page outside of screen.

I feel its a same issue as #729 but there its a full screen.

I tried to debug and I think its because mWindowVisibleDisplayFrameHeight is only calculate once (in init()) and not when changing orientation.

I added the calculation code from the init() in SetMargin() and the problem was solved.

Thanks

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