ionic-team / ionic-team/capacitor-keyboard

Keyboard resize is slow in iOS

Open
#19 19 comments 12 reactions 1 assignee Claimed by @theproducer View on GitHub
Dominant language
TypeScript
Stars
3
Forks
21
PR merge metrics
No merged PRs in 30d

Description

## Bug Report

### Plugin(s)

Keyboard

### Capacitor Version

```
💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 5.5.1
@capacitor/core: 5.5.1
@capacitor/android: 5.5.1
@capacitor/ios: 5.5.1

Installed Dependencies:

@capacitor/cli: 5.2.3
@capacitor/android: 5.2.3
@capacitor/core: 5.2.3
@capacitor/ios: 5.2.3
```

### Platform(s)

iOS

### Current Behavior

On iOS, the app is incorrectly resized after the keyboard animation finishes, not before.

On Android, web view is correctly resized before keyboard animation starts.

### Expected Behavior

Web view is resized before keyboard animation starts.

### Code Reproduction

https://github.com/aeharding/test-keyboard-slow

### Other Technical Details

#### iOS incorrect behavior
https://github.com/ionic-team/capacitor-keyboard/assets/2166114/888abf46-c036-4959-9738-49140f91848a

#### Android correct behavior

https://github.com/ionic-team/capacitor-keyboard/assets/2166114/feaadf20-688f-40e8-8a1d-a1df67c329bd

### Additional Context

Original issue that got closed as stale: https://github.com/ionic-team/capacitor/issues/1540

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.