react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

[V6] Merge bottomtab badge, the bottoms tab disappear

Open moonjava2005 opened this issue 4 years ago • 6 comments

I have 5 tabs, after app launch and show at tab 0, I merge option for tab 1, 2, 3, 4 to update the badge with follow code: Navigation.mergeOptions('CertainComponentId', { bottomTab: { badge: '2' } }); The tab bar will disappear

Environment

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

moonjava2005 avatar Feb 23 '20 13:02 moonjava2005