Skip to content

keyboardViewportHeight is set to 0 on ionic.Platform.ready for android 4.4.2 (Samsung S4) #2168

@kuldeepJadhav

Description

@kuldeepJadhav

In ionic.Platform.ready, the keyboardUpdateViewportHeight is called, in which the keyboardViewportHeight is set to window.innerHeight.

In Android version 4.4.2 Samsung S4, window.innerHeight is always returned 0.

When I used scree.height instead of window.innerHeight in keyboardUpdateViewportHeight function, I was getting the correct value.

We are using Ionic, v1.0.0-beta.11-nightly-421

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