ionic-team / ionic-team/capacitor-keyboard

[Bug] - On iOS the webview is not resized when the keyboard is resized

Open
#48 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
21
PR merge metrics
No merged PRs in 30d

Description

## Bug Report

### Capacitor Version

```
💊 Capacitor Doctor 💊

Latest Dependencies:

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

Installed Dependencies:

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

[success] iOS looking great! 👌
[success] Android looking great! 👌
```

### Platform(s)

iPadOS

### Current Behavior

When using the keyboard with the configuration `KeyboardResize.Native` and expanding the keyboard, from the accessory bar form (when using external keyboard) to full on-screen keyboard, the webview is not resized.

Here there is a demonstration video. The steps
- Touch on the input area to open the keyboard and type something
- Start typing with the external keyboard tho shrink the on-screen keyboard
- Touch on the button to hide the keyboard
- Touch on the input area again, only the keyboard bar will open
- Press the button on the keyboard bar to show the on-screen keyboard
https://github.com/user-attachments/assets/2cdb0007-5e60-4edc-b835-7f0b2d6199e7

### Expected Behavior

When the keyboard size changes, the webview should be resized.

### Code Reproduction

https://github.com/GabrielNSD/keyboard-demo

### Other Technical Details

### Additional Context

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.