React-native-navigation: [IOS] popToRoot mergeOptions is not working

Created on 3 May 2019  ·  6Comments  ·  Source: wix/react-native-navigation

Issue Description

When I am using popToRoot with some mergeOptions it is not working on IOS, though everything is ok on Android.

Steps to Reproduce / Code Snippets / Screenshots

Just use popToRoot from any stack and pass mergeOptions, I am using it like:

Navigation.popToRoot(this.props.componentid, { bottomTabs: { currentTabIndex: 2 }})

Environment

  • React Native Navigation version: @latest
  • React Native version: 0.57.7
  • Platform(s) (iOS, Android, or both?): IOS
  • Device info (Simulator/Device? OS version? Debug/Release?): Device, iphone 6
🏚 stale

Most helpful comment

anybody else having same issues on IOS?

All 6 comments

anybody else having same issues on IOS?

Still not working.

Navigation.mergeOptions is working to change the active tab, but indeed as stated above, the popToRoot doesn't take this into account

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

The issue has been closed for inactivity.

This is still a bug with v3 (alpha-11)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bdrobinson picture bdrobinson  ·  3Comments

charlesluo2014 picture charlesluo2014  ·  3Comments

birkir picture birkir  ·  3Comments

switchtrue picture switchtrue  ·  3Comments

zagoa picture zagoa  ·  3Comments