You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Event Handling > keyboardUp

8.28 keyboardUp

on.keyboardUp(keyboardOverlapHeight)

This routine is only called on touch-enabled platforms. It indicates that a docked keyboard opened on the screen and may overlap the script content. The parameter keyboardOverlapHeight provides the height if an overlap occurs. The return value of this routine controls if user scrolling should be enabled via the pan gesture. If returning true user scrolling is enabled otherwise (false) scrolling needs to be implemented by the script in terms of alternating the content drawn by on.paint(). The default value is true.

Introduced in platform.apiLevel = '2.2'