-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Tab screens have no sliding animation #3170
Comments
Could you update to the most recent version and see if it works with your app and fix this issue? |
@daviscabral Just verified that it works (latest master, |
Duplicate of #3163 |
@aksonov not sure if I understand - it is not showing the tab bar at all? |
I got it now - it was not the intention. |
@SourceCipher @aksonov were you able to get it working? I have the same problem as you- when a call Actions.jump('key'), it does not seem to animate (transition left/right) to the appropriate tab. Screen shot of code: https://imgur.com/bJ5oGiy Video of problem: https://media.giphy.com/media/5e21EuevXL8hS6AAyI/giphy.gif `
In the Scene |
@daviscabral Could you fix tabbar for legacy before releasing of new version? |
@mog3n You have to use latest master and |
Version
Tell us which versions you are using:
Expected behaviour
Calling the tab screen from the tabs component (or any other) with the
Actions.jump('key')
should slide to that screen with the sliding animationActual behaviour
Instead of sliding with the animation it will instantly jump to the screen. Even if im on the initial screen with the tabs and press on my custom header profile button, it will jump to the tab without animation. And then pressing on another icon to go back to the middle tab by Actions.pop('key') will slide back to the initial tab with the animation.
Code
My scene structure:
Calling from my custom header
onPress={() => Actions.jump('_profile')}
will switch to the profile tab without any animationThe text was updated successfully, but these errors were encountered: