question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

KeyboardProvider breaks translucent StatusBar on Android

See original GitHub issue

Describe the bug

My StatusBar is translucent in my android app. As soon as I add KeyboardProvider, it reverts that and leaves a white StatusBar which is not covering the app anymore.

Code snippet

Wrap the app with <KeyboardProvider>

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:26 (24 by maintainers)

github_iconTop GitHub Comments

2reactions
kirillzyuskocommented, May 10, 2022

@hirbod I could reproduce the issue on my Xiaomi device. Using version from PR and adding statusBarTranslucent to Provider fixes the problem 😊 Could you check it, please? If you confirm it, then I will merge and publish a new version of the library.

2reactions
hirbodcommented, May 10, 2022

I also created a PR here to circumvent the issue in the future with an easy statusBarTranslucent prop: https://github.com/react-navigation/react-navigation/pull/10578

Read more comments on GitHub >

github_iconTop Results From Across the Web

useAnimatedKeyboard listener breaks translucent StatusBar + ...
When using useAnimatedKeyboard applications that take advantage of the full screen by using translucent (absolutely positioned) StatusBar ...
Read more >
Transparent Status Bar in Android causes EditText hidden by ...
Now, I face to a problem : I've made the status bar transparent, with custom ToolBar (defined in a XML file). Everything works...
Read more >
Status Bar Always Hidden on Android - Unity Forum
Just had a quick question, is it possible to have a translucent status bar but an opaque navigation bar? And if so how...
Read more >
StatusBar - Expo Documentation
If the status bar is translucent. When translucent is set to true , the app will draw under the status bar. This is...
Read more >
Hide the status bar - Android Developers
This lesson describes how to hide the status bar on different versions of Android. Hiding the status bar (and optionally, the navigation ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found