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

zagoa picture zagoa  路  3Comments

kiroukou picture kiroukou  路  3Comments

viper4595 picture viper4595  路  3Comments

henrikra picture henrikra  路  3Comments

zhanguangao picture zhanguangao  路  3Comments