cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Austin Zimmer (JIRA)" <>
Subject [jira] [Commented] (CB-6375) When keyboard is dismissed. Page has a large gap at top of screen
Date Thu, 28 May 2015 20:48:31 GMT


Austin Zimmer commented on CB-6375:

Also still having the same issue even though the chromium issue Joe links to is in closed

The best solution I have been able to find so far is creating a plugin that is triggered whenever
the screen resizes from a smaller size to a larger size (keyboard close). The plugin emulates
a touch event which puts the screen back in the correct position. Very hacky and not long
term. If anyone has a better solution please post here.

Also, link to someone else on stackoverflow with a similar situation:

> When keyboard is dismissed. Page has a large gap at top of screen
> -----------------------------------------------------------------
>                 Key: CB-6375
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.4.0
>         Environment: Android 4.4.2 Nexus 5, jQuery Mobile 1.4.2, PhoneGap 3.4
>            Reporter: Jonathan Yong
>            Assignee: Joe Bowser
> See screenshot here:
> Notice the large white gap at the top of the page
> When a page is tall enough to cause the page to slide upwards when the virtual keyboard
is displayed, and while the page scroll position is scrolled down so that the header and /
or other controls are hidden above the top edge of the screen, dismissing the keyboard will
intermittently cause a page rendering error such that there is a large white gap above the
header of the page, essentially pushing down all page contents.
> This also causes the hitboxes of buttons and other form controls to differ from the on
screen view i.e. the hitboxes are where the controls should have appeared had there not been
a large gap at the top of the screen.
> This gap is present on all pages within the app and will remain until another text input
field is focused and the keyboard shows again.
> See screenshot here:
> In the above screenshot I clicked on the "submit registration" button before filling
out the form correctly and triggering a validation error "confirm password". This caused the
keyboard to hide and resulted in the page gap error as shown.
> The error also occurs when the keyboard is dismissed without hitting the "submit registration"
button i.e. by using the dismiss keyboard button within the android nav bar.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message