ionic-team / ionic-team/capacitor-keyboard
[Bug]: When changing [type] of <input> @capacitor/keyboard doesn't recalculate height of keyboard
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
## Bug Report
### Plugin(s)
@capacitor/keyboard: 6.0.3
### Capacitor Version
```
Latest Dependencies:
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/cli: 6.1.1
@capacitor/core: 6.1.1
@capacitor/android: 6.1.1
```
### Platform(s)
Android
### Current Behavior
When i change [type] of \ element to 'tel', while the keyboard is showing, the google keyboard changes its type to numeric but plugin doesn't recalculate its height and doesn't emit events keyboardWillShow and keyboardDidShow, so there is black or white (depending on system settings) bar above it

### Expected Behavior
In previous versions (4.x.x) it will emit both events keyboardWillShow and keyboardDidShow, when [type] is changed and keyboard is open, and the height is recalculated - black/white bar is not showing
### Code Reproduction
https://github.com/bezegora/bar-above-keyboard
### Other Technical Details
reproduces on android emulator with API 33
### Additional Context
When debugging i found that it just doesnt recalculate hight when type of keyboard changes
Contributor guide
Assessment
This issue has not been assessed yet.