-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Support "immersive" mode #63
Comments
If you apply the flag |
If someone wants to open a PR to add support I will gladly review it :) |
You saved me, thanks! |
I do not understand the solution from @crutchcorn . Is this fixing the insets when using immersive mode? Where do I have to set the flag? |
@Paduado I can't figure it out. Where do you add the WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS flag? |
I wrote an article explaining exactly how to do this: https://unicorn-utterances.com/posts/draw-under-navbar-using-react-native#The-Right-Way And also a NPM package to handle all of the weird SDK issues that might arise in trying to do this: |
Thank you, but that doesn't seem to be what I am looking for - actually using immersive mode and expecting the inset.bottom (when portrait) to reduce by nav bar height. |
when using immersive mode on android |
I'm using react-native-safe-area-context in combination with react-native-android-immersive-mode but the bottom inset value seems to still include the navigation bar height even though it's not there (see official Android docs on "immersive" mode).
Are there plans to support that?
The text was updated successfully, but these errors were encountered: