Julien
Julien

Reputation: 51

TabNavigator : Go directly on a screen

Is it possible to move from screen A to screen C without viewing screen B with animation in this case ?

const TabNavigator = createMaterialTopTabNavigator({

    A: {
         screen: Tab1,

       },
    B: {
         screen: Tab2,

       },
    C: {
         screen: Tab3,

       },


Upvotes: 0

Views: 39

Answers (1)

Jeff Gu Kang
Jeff Gu Kang

Reputation: 4889

Use the TabNavigatorConfig.

animationEnabled: false

You can change the tap screen without animation.

Upvotes: 1

Related Questions