Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

back on TAB is not working when using hideTabBar and swipeEnabled={false} a on parent #2186

Closed
shukerullah opened this issue Aug 4, 2017 · 1 comment

Comments

@shukerullah
Copy link

Version

  • react-native-router-flux ^4.0.0-beta.15
  • react-native 0.47.0
  • react-navigation ^1.0.0-beta.11

Expected behaviour

It should pop back to the previous TAB.

Actual behaviour

When swipeEnabled and back & hideTabBar props on tab, Actions.pop is working well. Its going back to the previous tab. After disabling swip it through following error: undefined is not an object (evaluating '_this24._component.setNativeProps')

Steps to reproduce

  1. Add swipeEnabled={false} on tabs parent
  2. Add back and hideTabBar props on one of the tab
  3. When pressing on back button is should pop back to previous tab, but it through error here.
@aksonov
Copy link
Owner

aksonov commented Aug 4, 2017

Duplicated of #2012

@aksonov aksonov closed this as completed Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants