You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I navigate manually from Tab 3 to Details, everything works as expected.
Pressing back returns to Tab 3 with normal animation for the screen (so no specific animation for the tab navigator itself).
good_back.mp4
However, when I open Details via deep link, pressing back (which should return to Tab 3) shows an unexpected/weird back animation.
unwanted_back_animation_at_deeplink.mp4
Use command
adb shell am start -W -a android.intent.action.VIEW -d "buggednav://tab3/details" com.buggednav
Notice the weird/unwanted animation on the tab navigator.
This doesn't happen with the JS/non-native tab navigator in my tests.
Expected: same back behavior/animation as manual navigation (Tab 3 -> Details -> back to Tab 3). Actual: back transition animation is visually incorrect only in the deep-link flow.
Expected behavior
No weird animation should appear, basically it should behave like we'd just go normally back from details to 3rd tab.
Current behavior
Repository provided.
I have a Root Stack navigator that contains:
When I navigate manually from Tab 3 to Details, everything works as expected.
Pressing back returns to Tab 3 with normal animation for the screen (so no specific animation for the tab navigator itself).
good_back.mp4
However, when I open Details via deep link, pressing back (which should return to Tab 3) shows an unexpected/weird back animation.
unwanted_back_animation_at_deeplink.mp4
Use command
adb shell am start -W -a android.intent.action.VIEW -d "buggednav://tab3/details" com.buggednavNotice the weird/unwanted animation on the tab navigator.
This doesn't happen with the JS/non-native tab navigator in my tests.
Expected: same back behavior/animation as manual navigation (Tab 3 -> Details -> back to Tab 3).
Actual: back transition animation is visually incorrect only in the deep-link flow.
Expected behavior
No weird animation should appear, basically it should behave like we'd just go normally back from details to 3rd tab.
Reproduction
https://github.com/spasmodiumspam-web/react-navigation-native-tabs-deeplink-reset-repro
Platform
Packages
Environment