React-native-navigation: [v2] [iOS] bottomTabs visible: false visible again on version 2.0.2614 after it was fixed in 2.0.2597

Created on 24 Oct 2018  路  5Comments  路  Source: wix/react-native-navigation

Issue Description

After it was fixed in https://github.com/wix/react-native-navigation/issues/4161
Issue is back but now bottomTabs become visible when I change current Tab.
On the first tab it is not visible.

Navigation.mergeOptions(componentId, {
      bottomTabs: {
        visible: false,
        animate: false,
        drawBehind: true,
        currentTabIndex: NEWINDEX
      }
    });

Also I have set

Navigation.setDefaultOptions({
    bottomTabs: {
      visible: false,
      drawBehind: true,
      animate: false
    }....

And alsovisible: false in my setRoot bottomTabs

Steps to Reproduce / Code Snippets / Screenshots

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

and use to change tab.

Navigation.mergeOptions(componentId, {
      bottomTabs: {
        visible: false,
        animate: false,
        drawBehind: true,
        currentTabIndex: NEWINDEX
      }
    });

bottom tab becomes visible.


Environment

  • React Native Navigation version: 2.0.2614
  • React Native version: 0.56
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): both
iOS acceptebug

Most helpful comment

image
Clarification: Maybe it is not bottomTabs but some white area will appear in the place of bottomTabs.

All 5 comments

image
Clarification: Maybe it is not bottomTabs but some white area will appear in the place of bottomTabs.

same issue

Same issue here too
Edit. I'm not having this problem on iOS. I am seeing this on Android.

Doesn't seem to reproduce in version 2.0.2620. Can you please check with this version?
4f3cbf0ab3b5270eb358a974bb17d28e0ea22dc8 should solve all latest issues related to defaultOptions

@yogevbd seems like fixed. No issues on iOS and android

Was this page helpful?
0 / 5 - 0 ratings