Skip to content

Test for absolute positioning issue when showing keyboard on mobile (iOS & android)

Notifications You must be signed in to change notification settings

IjzerenHein/famous-test-positionabsolute

Repository files navigation

famous-test-positionabsolute

Test for absolute positioning issue when showing keyboard on mobile (iOS & android)

###Run the demo here

Issue

When the virtual keyboard is shown on iOS and Android, and there are hidden surfaces below the bottom of the screen (e.g. when using a Scrollview), the window scrolloffset gets misplaced.

iOS8

Android

Resolution

To resolve this issue the following line needs to be added to the body tag:

body {
    position: absolute;
}

Contact

© 2014 - Hein Rutjes

About

Test for absolute positioning issue when showing keyboard on mobile (iOS & android)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published