apache / apache/cordova-ios

Keyboard apears and increases additional Viewport-Height

Open
#722 3 comments 4 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

# Bug Report

## Problem
Keyboard apears and increases additional Viewport-Height

### What is expected to happen?
![android_keyboard_view_reference](https://user-images.githubusercontent.com/44459873/69425242-dc0f5000-0d2a-11ea-98d6-43c40732d7c3.png)

Viewport Height shoult be the same, on iOS if Keyboard apears.

### What does actually happen?
![ios_keyboard_viewheight_issue](https://user-images.githubusercontent.com/44459873/69425255-e7627b80-0d2a-11ea-84a9-2846b2715864.png)

## Information

### Command or Code

```js
window.outerHeight
```

### Environment, Platform, Device
iPhone 8, 11 Emulator

### Version information
iOS: 13.2.2 Emulator
XCode: 11.2.1
cordova-ios: 5.0.1
cordova-lib: 9.01

no Dependencies,
only Cordova Boilerplatte

## Checklist

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with window.outerHeight on an iPhone 8 or the iOS 13.2.2 emulator running cordova-ios 5.0.1, comparing the values before and after the keyboard appears. The payload names no source file or test, so start by tracing Cordova iOS viewport handling; done means the viewport height remains unchanged when the keyboard appears, as expected on iOS.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.