ionic-team / ionic-team/capacitor-os-inappbrowser
Status Bar overlays webview after closing InAppBrowser
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
After closing the InAppBrowser, the status bar overlays the webview instead of keeping its original setting.
### Expected Behavior
The webview should keep its original status bar configuration.
### Environment
- Platform: iOS 18.3
- Plugins:
- Capacitor InAppBrowser: 2.2.1
- Capacitor StatusBar: 7.0.2
- Capacitor Plugin Config:
```ts
plugins: {
StatusBar: {
overlaysWebView: false,
style: 'DARK',
backgroundColor: '#000000'
},
...
}
```
### Notes
I've tested with both methods `openInSystemBrowser()` and `openInWebView()` and the issue is raised on both.
### Screenshots
Before opening InAppBrowser, the status bar is correct:
Opening the InAppBrowser, the status bar is correct:
After closing the InAppBrowser, the status bar overlays the webview (we can see the white font color overlays the webview content):
### Additional informations
For information I've tested with other plugin [@capacitor/browser](https://capacitorjs.com/docs/apis/browser) and there is no issue si I guess this is a minimal workaround.
Contributor guide
Assessment
This issue has not been assessed yet.