kadiraydinli / react-native-system-navigation-bar

React Native lets you customize the navigation bar for Android.
https://www.npmjs.com/package/react-native-system-navigation-bar
MIT License
270 stars 19 forks source link

Bottom bar reappears whenever I click (not swipe) the screen #56

Open canpoyrazoglu opened 11 months ago

canpoyrazoglu commented 11 months ago

Description

I use SystemNavigationBar.navigationHide(); to hide the bottom bar. The bar does get hidden, though whenever I click the screen again the bar reappears. (I'm on Android 11 emulator, don't have access to a physical Android device)

react-native-system-navigation-bar version

2.6.3

React Native version

0.72.4

Snack, code example, screenshot, or link to a repository

No response

kadiraydinli commented 11 months ago

Hi @canpoyrazoglu, can a sample screen recording be shared?

canpoyrazoglu commented 11 months ago

Hi @kadiraydinli when preparing to record I've noticed a few observations. Because of NDA I can't directly share my app screen, though when I commented out parts of my app (e.g. navigation controller) the problem stopped, so I suspect it's due to something in the navigation stack.

In addition, the problem is occuring on Nexus 5 Android 11 emulator, but not occuring on Pixel 7 Pro API 34. Will add more details when I can pinpoint what is causing it.