-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
KeyboardProvider breaks translucent system navigation bar #119
Comments
Hi @whalemare Nice point! Actually I think it kind of expected behavior, since in the code I specify it like Line 47 in 9986f5f
Which literally means "apply default padding". I think I need to introduce Please, let me know, if the "fix" with substituting |
Yes, it helps! Thanks a lot |
@whalemare awesome! I will submit a PR in next few days 👀 |
## 📜 Description Added new `navigationBarTranslucent` prop on `KeyboardProvider`. ## 💡 Motivation and Context To make it more customizable and support translucent navigation bar I decided to add a new prop called `navigationBarTranslucent`. This prop follows the same pattern as `statusBarTranslucent`. Fixes #119 ## 📢 Changelog ### JS - updated specs for fabric codegen; ### Android - added handling of new property (if property is set to `true`, then we are setting 0 bottom padding - the same logic is already used for controling status bar transparency); ## 🤔 How Has This Been Tested? Manually tested on: - Pixel 3a (API 33, emulator); - Pixel 6 Pro (API 28, emulator) ## 📸 Screenshots (if appropriate): |Before|After| |-------|---------------| |<img width="226" alt="image" src="https://user-images.githubusercontent.com/22820318/221593460-a65f9136-ae60-40e0-8243-154c252dc903.png">|<img width="226" alt="image" src="https://user-images.githubusercontent.com/22820318/221593746-e56fc41a-cf07-43d0-a2be-ab948a022897.png">| ## 📝 Checklist - [x] CI successfully passed
I've merged a PR that adds new property called So you'll need to use: <KeyboardProvider navigationBarTranslucent>
...
</KeyboardProvider> In order not to break translucency specified by android styles. |
Fixed in |
Describe the bug
When I wrap my app with
Android system navigation bar becomes colored, not translucent
Code snippet
styles.xml
Repo for reproducing
I can do it later if you need it
To Reproduce
Expected behavior

Actual behavior

Smartphone (please complete the following information):
Additional context
no applicable
The text was updated successfully, but these errors were encountered: