Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.2.0
-
None
-
iOS
Description
Tested environment: iOS 6.0, NO keyboard plugin.
When focusing on an input/textarea field that result in keyboard is displayed then the view is pushed about 40px up.
It was happened in version 3.0.0 and could work-around by below code, then it seemed to be fixed in 3.1.0 since I removed below code in the test app. But now it happens again in 3.2.0, I guess that it caused by changes relate to keyboard plugin, so now, add back below code snippet will work-around again in 3.2.0
// Prevent screen from pushing up when keyboard appears. // http://stackoverflow.com/questions/13820088/how-to-prevent-keyboard-push-up-webview-at-ios-app-using-phonegap $(document).on("focus", "input", function (e) { e.preventDefault(); e.stopPropagation(); window.scrollTo(0, 0); });
Attachments
Issue Links
- relates to
-
CB-5642 Screen is pushed up for a while when keyboard appears
- Closed