javascript - Phonegap : layout breaks when keyboard is shown -
i experiencing ui issues when keyboard opened. when keyboard opened,style of elements having position : fixed
breaks. appear scrolling content. please me fix problem.
the issue exists in ios 6.1, 7.1
as per documentation link of phonegap build version 3.1, need use "keyboardshrinksview" preferences in config.xml. set true scale down webview when keyboard appears, overriding default beavior shrinks viewport vertically. matches default behaviour android apps.
<preference name="keyboardshrinksview" value="true"/>
good luck!
Comments
Post a Comment