It seems that a decent amount of people are interested in being able to animate transitions between tabs with the bottom tab navigator in React Navigation. The number of ways that people may want to animate this are endless, and none of the built in platform bottom tab navigation patterns provide this behavior out of the box, so we aren't interested in maintaining a generic animated tab changing solution. Thankfully this is easy enough to implement exactly as you need it by just building your own tab navigator on top of the existing tools that React Navigation gives you. See createAnimatedBottomTabNavigator.js, where half of the code is just copy/pasted out of this file, for an example of how you can animate between tabs. App.js uses the navigator created in that file. I only built a simple example that fades from the previously selected screen to the currently selected screen (and every screen in between is involved in this too) but you can do whatever you want using this same pattern.
forked from brentvatne/animated-bottom-navigation-example
nguyenbathanh/animated-bottom-navigation-example
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 100.0%