Skip to content

Status Bar overlays webview after closing InAppBrowser #72

@AurelienJoy

Description

@AurelienJoy

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:
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 and there is no issue si I guess this is a minimal workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions