Questions tagged [react-native-navigation-v2]
85 questions
0
votes
1 answer
Is there a way to prevent the user pressing the back button on their device from popping the current view from the stack?
I'm using React-Native-Navigation from Wix (version 2) to setup navigation in my React Native app. I'm using the sideMenu layout with the center section being a stack. When the user selects one of the side menu items the selected view is pushed onto…

Jack Kinsey
- 718
- 1
- 8
- 20
0
votes
1 answer
SearchBar react-native-navigation V2 Android
I am using Wix's navigation V2, I want to add a search field in the top bar, this is how I am pushing the screen that shows a list of item
Navigation.push(this.props.componentId, {
component: {
name: 'app.SearchEvent',
…

ketimaBU
- 901
- 4
- 15
- 35
0
votes
1 answer
Push to stack only works once - React Native Navigation V2
I'm working with React-Native-Navigation v2 for the first time, modeling a simple app that has 3 tabs at the bottom and a sidebar that has a button which will navigate to a fourth screen when pressed mimicking a 'logout'. This fourth tab will then…

L-R
- 418
- 1
- 7
- 23
0
votes
1 answer
How to know the sideMenu visibility state
I have a topBar with a button that toggles the Side Menu.
I have registered a navigationButtonPressed action as below
navigationButtonPressed({ buttonId }) {
switch (buttonId) {
case 'sideMenuButtonId':
…

Simon
- 2,065
- 3
- 21
- 28
0
votes
0 answers
How can I hide the bottom tabbar on one tab only using react-native-navigation v2?
I am looking for a way to hide the tabbar on the first tab only for my app.
[EDIT FOR MORE DETAILS]
I have tried this:
Navigation.setRoot({
root: {
bottomTabs: {
id: "BottomTabsId",
children: [
{
stack: {
children:…

Michael Campsall
- 4,325
- 11
- 37
- 52
0
votes
1 answer
react-native-navigation v2: Get current route
I want to forbid BackButton closing app when in the root of the navigator.
How can I detect current route?
Or maybe there is builtin react-native-navigation method to work with backbutton?

rendom
- 3,417
- 6
- 38
- 49
0
votes
1 answer
React native project initialization, ios library linking
When initializing a new project I see there are 2 options :
react-native init AwesomeProject
create-react-native-app AwesomeProject (I chose this)
I have been trying to install react-native-navigation v2.0. There are instructions to modify the…

Coder Lam
- 395
- 1
- 3
- 13
0
votes
0 answers
react-native-navigation v2 (wix) showModal animation fade
I'm currently working on a project in which we are trying to implement the wix/react-native-navigation V2 instead of react-navigation.
We want similar behaviour as in Instagram.
We are setting bottomTabs on setRoot and thought about showing…

tabulaR
- 300
- 3
- 13
0
votes
1 answer
React this.props.navigation.openDrawer() in child component?
I have an openDrawer method via React Navigation 2 working great in my View. However, when I create a child component and place my openDrawer button in it, I can no longer access this.props.navigation. How do I pass that down into the child…

loganpixel
- 87
- 10
0
votes
1 answer
react-native-navigation (wix) v2 static Scene for all tabs
We are developing an app which will have a music player (similar to spotify).
Even tho React-navigation worked, we thought about switching to React-native-navigation (v2) from wix.
While implementing RNN v2 we had the problem to place a component…

tabulaR
- 300
- 3
- 13