apache / apache/cordova-ios

On iPhone devices screen is zoomed in and fails to resize back after user enters input

Open
#1,327 4 comments 0 reactions 0 assignees View on GitHub
webkit bug
Dominant language
JavaScript
Stars
2.2k
Forks
1k
Avg merge
12h 11m
Merged PRs (30d)
18

Description

I have ionic cordova hybrid mobile app where for iPhone devices when keyboard is launched to enter input, iPhone screen is zoomed in and after entering the input, keyboard is dismissed but the screen remains zoomed in and user has to manually resize the screen to fit the screen properly.

I have below plugins configured in my app:
"cordova-plugin-ionic-webview": "^5.0.0"
"cordova-plugin-inappbrowser": "^5.0.0",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^5.0.0",
"cordova-plugin-screen-orientation": "^3.0.2",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-ios": "^6.3.0",

I have set meta name="viewport" tag value as below:
meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reproducing the iPhone keyboard and viewport behavior with the listed Cordova plugins and viewport meta tag, then determine whether the failure belongs in cordova-ios or an application/plugin configuration; done means the screen returns to its normal scale after input is dismissed.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.