-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: capacitor 7 android navigation bar overlap #7838
Comments
I switched to https://github.com/capacitor-community/safe-area |
me too |
Can you update your Capacitor and plugins especially to 7.0.1 and see if it goes away. |
Even just the release version of 7.0.0 and let me know how that goes. |
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed. |
Can I get an example of exactly what you're seeing? |
I am not sure why this was closed as I see no message indicating a valid resolution, just a switch to using a different plugin for something we probably ought to be handling OOTB. As such, I have created a proper sample reproduction: https://github.com/kensodemann/status-bar See the README.md in the sample for a simple rundown of what I am seeing across a few different versions of Android and how that compares to Capacitor v6 behaviors. |
Is this related to issue #7648?
Android 15 (SDK 35) introduced edge-to-edge layout. Using SDK 34 forces the old behvior without the edge-to-edge layout, but this is not a long-term solution. Another option may be to opt-out of edge-to-edge but this also doesn't embrace the changes. |
I'm facing the same issue, is there a fix planned for this? this is a stopper for migration for me |
This does seem to be the same problem as described in issues #6423, #7648, and #7804. Android WebView provides incorrect values for the safe area insets in CSS. The only workaround seems to be to downgrade to SDK 34, or use |
I tried to implement it with the safe-area plugin but it is not really consistent over the API Levels. It would be great if Capacitor / Ionic will provide some Solution. |
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.0.1
@capacitor/core: 7.0.1
@capacitor/android: 7.0.1
@capacitor/ios: 7.0.1
Installed Dependencies:
@capacitor/cli: 7.0.0-rc.0
@capacitor/core: 7.0.0-rc.0
@capacitor/android: 7.0.0-rc.0
@capacitor/ios: 7.0.0-rc.0
[success] iOS looking great! 👌
[success] Android looking great! 👌
Other API Details
Platforms Affected
Current Behavior
since capacitor 7 the app on android overlaps the navigation bar
and
does not work anymore
Expected Behavior
tha navigation and statusbar should not overlap
Project Reproduction
new capacitor project
Additional Information
No response
The text was updated successfully, but these errors were encountered: