Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.3.0
-
None
Description
I'm trying to get the KeyboardShrinksView option to work on iOS7 with latest cordova:
Installed the plugin (should be in the docs):
cordova plugin add org.apache.cordova.keyboard
However the views won't shrink anymore on input selection.
Here is my config.xml
<preference name="BackupWebStorage" value="local" /> <preference name="DisallowOverscroll" value="true" /> <preference name="AutoHideSplashScreen" value="false" /> <preference name="KeyboardShrinksView" value="true" /> <preference name="ShowSplashScreenSpinner" value="true"/> <!-- <preference name="splashScreenDelay" value="1000" /> --> <content src="index.html" /> <access origin="*" />
EDIT - Looks like adding this fixed my issue...
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi"/>