Skip to content

Feature request: Allow to overlay status bar over WebView #1876

Closed

Description

@UlisesCeca

Hello,

is it possible to make the status bar transparent or translucent like the image below with the current plugin?

image

Thanks!

Activity

  1. jcesarmobile commented on Aug 14, 2019

    @jcesarmobile
    Member

    It's possible to make the bar translucent as it accepts AARRGGBB as color, but it's not possible to show the webview behind the statusbar.

  2. UlisesCeca commented on Aug 14, 2019

    @UlisesCeca
    Author

    Okay, thank you!

    Will this ever be considered to be implemented in the future?

  3. jcesarmobile commented on Aug 14, 2019

    @jcesarmobile
    Member

    Tagging with feature request tag:
    Issues tagged with feature request are closed but tracked for reactions to gauge interest.
    If you are interested in this feature, add the thumbs up emoji (+1) reaction on the issue so we can sort them based on it.

    In case it's done, it would be android only method, should be like the cordova-plugin-statusbar overlaysWebView method.

  4. changed the title [-]Transparent status bar[/-] [+]Feature request: Allow to overlay status bar over WebView[/+] on Aug 14, 2019
  5. Crylion commented on Mar 17, 2020

    @Crylion
    Contributor

    I'm also really missing this :/
    We're currently migrating a cordova app to capacitor and supporting phones with notches correctly was an important part of the design, so we really relied on the cordova statusbar plugin being able to overlay the webview :(
    Are there workarounds by changing the android code directly? The last time I developed for Android was about five years ago, so I'm a bit rusty x)

  6. jcesarmobile commented on Mar 19, 2020

    @jcesarmobile
    Member

    this has been implemented on #2597, removing the feature request label

  7. sisoje commented on Oct 26, 2020

    @sisoje

    @jcesarmobile what about ios support?

  8. jcesarmobile commented on Oct 26, 2020

    @jcesarmobile
    Member

    iOS always overlays the status bar, you can avoid the status bar area by respecting safe areas
    https://webkit.org/blog/7929/designing-websites-for-iphone-x/

  9. ionitron-bot commented on Nov 11, 2022

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

  10. locked and limited conversation to collaborators on Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions