Bug Report
Capacitor Version
@capacitor/cli: 8.4.0
@capacitor/core: 8.4.0
@capacitor/android: 8.4.0
@capacitor/ios: 8.4.0
Platform(s)
Current Behavior
If insetsHandling is set to disable, the resizing of the webview when the keyboard is open will never be performed.
Expected Behavior
When this configuration is set to true, the keyboard plugin should be responsible for resizing the webview.
SystemBars: {
insetsHandling: 'disable',
},
Keyboard: {
resizeOnFullScreen: true,
},
Code Reproduction
https://github.com/luisbytes/safe-area
Other Technical Details
The current behavior is due to this pull request: #62
@theproducer
If the SystemBar class is present (it always will be, since it's included in @capacitor/android), the Keyboard plugin configuration is ignored. Therefore, setting insetsHandling to disable will prevent the WebView from being resized by either the Keyboard or SystemBar plugins.
Bug Report
Capacitor Version
Platform(s)
Current Behavior
If insetsHandling is set to disable, the resizing of the webview when the keyboard is open will never be performed.
Expected Behavior
When this configuration is set to
true, the keyboard plugin should be responsible for resizing the webview.Code Reproduction
https://github.com/luisbytes/safe-area
Other Technical Details
The current behavior is due to this pull request: #62
@theproducer
If the SystemBar class is present (it always will be, since it's included in @capacitor/android), the Keyboard plugin configuration is ignored. Therefore, setting
insetsHandlingtodisablewill prevent the WebView from being resized by either the Keyboard or SystemBar plugins.