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

[Android only] Cannot use with react-native-community/react-native-tab-view #1796

Closed
lsps9150414 opened this issue Jun 7, 2017 · 5 comments

Comments

@lsps9150414
Copy link

lsps9150414 commented Jun 7, 2017

Not sure if this is react-navigation's problem or react-native-community/react-native-tab-view's problem.

Steps to reproduce

The problem only exist on Android.
Copy and paste the example code of react-native-community/react-native-tab-view and using it inside a scene of react-navigation's TabNavigator.

Expected Behavior

Only using react-native-community/react-native-tab-view on Android:
screenshot_20170607-225933

Using react-native-community/react-native-tab-view with react-navigation on iOS:
ios

Current Behavior

Using react-native-community/react-native-tab-view with react-navigation on Android.

Bugs:

  1. The scene body of react-native-community/react-native-tab-view is not visible.
  2. Scene does not "snap" when swiped, instead it's stuck at where it is swiped.

screenshot_20170607-230006

Your Environment

software version
react-navigation react-navigation@1.0.0-beta.11
react-native-tab-view react-native-tab-view@0.0.66
react-native react-native@0.44.0 (using CRNA, expo v = 17.0.0)
node v6.2.1
npm or yarn 3.10.9
@lsps9150414
Copy link
Author

@mathemagics
Copy link

Happens with nested tab navigators as well

@ethan605
Copy link

I got this problem too, but only for these conditions:

  • Android
  • TabNavigator is nested in a StackNavigator
  • react-navigation@1.0.0-beta.10 (with react-native-tab-view@0.0.65)

When I use react-navigation@1.0.0-beta.9 (with react-native-tab-view@0.0.61) the problem doesn't happen.

@walterjar
Copy link

When I use react-navigation nested tab navigators with "animationEnabled: true" in both outer and inner TabNavigator , the inner TabNavigator can not been shown.

@vonovak
Copy link
Member

vonovak commented Nov 3, 2017

This issue is pretty old, and the linked issue in react-native-tab-view#278 offers a solution, so I'm closing this.

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

No branches or pull requests

6 participants