在屏幕之间导航时出现奇怪的白色半屏反应导航

时间:2021-03-30 13:17:31

标签: react-native react-native-navigation

这就是问题 - https://streamable.com/wl8oku 当我在屏幕之间导航时,我有这样的配置:

 options: {
      cardOverlayEnabled: true,
      headerTransparent: true,
      headerTitle: null,
      cardStyle: { backgroundColor: "transparent" },
      cardShadowEnabled: false,
      cardStyleInterpolator: CardStyleInterpolators.forHorizontalIOS, // fix for blanck screen - needs to be fixed
    },

我的过渡是到一个以全屏方式呈现视频播放器的屏幕。 正在发生这种情况 - 我看到白色间隙,看起来有些东西需要空间,因为箭头总是改变它的位置.. 如何顺利过渡?

enter image description here

也许是因为视频加载时间过长?我怎样才能让它工作?如果我删除 cardStyleInterpolator,它会闪烁白屏,然后出现视频..

0 个答案:

没有答案