wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.02k stars 2.67k forks source link

Add navigationBar.drawBehind option #7493

Open badaz opened 2 years ago

badaz commented 2 years ago

🚀 Feature

We need a drawBehind option that we can enable in the navigationBar options, like the one for statusBar options

Motivation

Getting an app that is completely fullscreen, without hiding the navigation bar completely.

Pitch

Right now there is still that bottom navigation area behind which one cannot draw. Apps that go totally full screen (drawing behind the statusBar) do not feel totally finished because of that "fixed color" navigationBar. It is possible to make it transparent but then you only see the background color of your app, which is not the same as drawBehind where your apps components can actually go behind that zone (like the elements in a scrollview). You can also hide the navigationBar altogether, but it does not accomplish the same effect. It seems there has been an attempt at doing this already, as mentioned here https://github.com/wix/react-native-navigation/issues/4258 , as well as a plan to implement it in 2020 by @guyca , has it been abandonned since?

Are you willing to resolve this issue by submitting a Pull Request?

erennyuksell commented 2 years ago

Nice idea it will be good to have this feature