Search code examples
react-nativereact-native-navigationwix-react-native-navigation

Add a persistent view to RNN inside a TabBar controller


I want to add a persistent view inside of a tabbar like the Apple Music app showing below.

Apple Music

Currently, I can add this component to the bottom of each screen but it would be great if there was a way to attach it to the tabbar so that there is only one instance of it in the app and it hasn't have to re-rendered with new screen of tab pressed. Thanks.


Solution

  • for RNN v2, I solved this using @guy.gc suggestion of adding a persistent overlay that loads on the first screen's componentDidMount.