react-native-paper
react-native-paper copied to clipboard
Use Bottom Navigation without router logic
I would like to use the BottomNavigation component alone, with a ReactNavigation Router just on top.
To do so I set renderScene to ()=>null and I handle my navigation with onIndexChange.
It works fine, except that bottomNavigation leaves a padding in what would have been the content of renderScene (I highlighted the element in the screenshot).
How can I remove that element blocking the screen ?
Is there anyway I can display BottomNavigation alone ?
Many thanks

Couldn't find version numbers for the following packages in the issue:
react-nativereact-native-paperreact-native-vector-icons
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username).
Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup.
Hey @leoparis89, according to the comment above, please provide the minimal repro demonstrating the issue or use expo snack for it.
Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it.