ionic-team / ionic-team/capacitor

[Bug]: keyboard is hiding the input field on Android

Open
#8,108 3 comments 2 reactions 0 assignees View on GitHub
needs reproduction platform: android
Dominant language
TypeScript
Stars
16.7k
Forks
1.3k
Avg merge
3d 15h
Merged PRs (30d)
10

Description

### Capacitor Version

Capacitor Version
Capacitor Doctor

Latest Dependencies:

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

Installed Dependencies:

@capacitor/android: not installed
@capacitor/cli: 7.4.2
@capacitor/core: 7.4.2
@capacitor/ios: 7.4.2

[error] Xcode is not installed

### Other API Details

```Shell
npm version: 8.19.4
node version : v20.14.0
```

### Platforms Affected

- [ ] iOS
- [x] Android
- [ ] Web

### Current Behavior

When I type on an input field, the keyboard hides it
See the minimum example in github https://github.com/Toto5931/app-mini/releases/tag/mini_app

### Expected Behavior

I would expect the size of the webview to be reduced so that the input stays visible while we are typing

### Project Reproduction

https://github.com/Toto5931/app-mini/releases/tag/mini_app

### Additional Information

This problem is different from the https://github.com/ionic-team/capacitor/issues/8099 which concerns iOS
I have looked at https://capacitorjs.com/docs/apis/keyboard but the resize option is Only available on iOS.

Image

Image

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.