Frage

when closing the virtual keyboard in blackberry webworks, the page sometimes doesn't use the space of the keyboard anymore, that space is blank.

Is there any way to prevent this bug?

Any help would be appreciated, thank you in advance!

War es hilfreich?

Lösung 2

I found a solution to this issue myself:

With JS:

window.onresize = function(){
    window.scrollTo(0,0);
}

Or with jQuery:

$(window).resize(function(){
    $(window).scrollTop(0);
});

This should prevent the bug...

Andere Tipps

I would double check that you are using the latest version of the WebWorks SDK available for your platform (Smartphone, Tablet, BB10), as well as using the latest OS on your device. If you're still seeing issues, I'd log this as a bug: https://www.blackberry.com/jira/secure/Dashboard.jspa

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top