Virtual Keyboard Closing Issue with BlackBerry WebWorks on BlackBerry OS 7

by Retired on ‎07-24-2012 03:20 PM (3,101 Views)


When closing the virtual keyboard in a BlackBerry® WebWorks™ application, the page stays shifted upwards and the underlying area where the keyboard previously appeared presents a white background. The page does not shift downwards to display in its original state after closing the virtual keyboard.


This is a known issue within BlackBerry® 7.0 and 7.1.


The workaround is to include the following code in your BlackBerry WebWorks application:


Using JavaScript®: 

   function(e) {
   }, false);

Using jQuery™: 


The function will occur whenever the window is resized, and in this case, when the virtual keyboard is closed.