ionic-team / ionic-team/capacitor-os-inappbrowser

Status Bar overlays webview after closing InAppBrowser

Open
#72 2 comments 4 reactions 0 assignees View on GitHub
bug
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:
Image

Opening the InAppBrowser, the status bar is correct:
Image

After closing the InAppBrowser, the status bar overlays the webview (we can see the white font color overlays the webview content):
Image

### 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

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.