React-native-navigation: TopBar flashes briefly when showing a screen with TopBar hidden

Created on 10 Apr 2018  路  4Comments  路  Source: wix/react-native-navigation

Noticeable in WelcomeScreen.js

Android v2

Most helpful comment

    Navigation.setDefaultOptions({
      topBar: {
        visible: false,
        drawBehind: true,
        animate: false
      }
    });

Solve this problem for me

All 4 comments

@guyca I have the same problem here on IOS. Could you find a solution for this?

Hey @DavitVosk, I'll look into this issue this week, we have a few other tasks prioritised for iOS for this week.. I'll see what I can do.

I found that playing with the property topBar animate in the options getter and setDefaultOptions was able to prevent the weird animation flash and seems to be more stable, if it helps anyone

    Navigation.setDefaultOptions({
      topBar: {
        visible: false,
        drawBehind: true,
        animate: false
      }
    });

Solve this problem for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Chipped1 picture Chipped1  路  3Comments

viper4595 picture viper4595  路  3Comments

bdrobinson picture bdrobinson  路  3Comments

birkir picture birkir  路  3Comments

kiroukou picture kiroukou  路  3Comments