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
I've created a bare bone application to debug an issueI was running into using a bottom tab bar navigator with a header that contains a toggle.
The tab bar has 3 tabs. When you switch one by one and then click the toggle, the toggle quickly jumps to its final state w/o the smooth animation it normally uses (on Android).
The smooth toggle animation is only removed when you've switched between each tab and then go back to the first one. So to reproduce you can do:
Click "screena" tab button
Click "screenb" tab button
Click "screenc" tab button
Click "screena" tab button again
Toggle the switch; you'll notice that it the once smooth animation is gone.
Current behavior
I've created a bare bone application to debug an issueI was running into using a bottom tab bar navigator with a header that contains a toggle.
The tab bar has 3 tabs. When you switch one by one and then click the toggle, the toggle quickly jumps to its final state w/o the smooth animation it normally uses (on Android).
The smooth toggle animation is only removed when you've switched between each tab and then go back to the first one. So to reproduce you can do:
GIF that demonstrates the issue:
Higher res video that demonstrates the issue:
https://imgur.com/a/j6YaY9W
Someone on Discord was so kind to test this on iOS and said it was working fine on iOS.
Expected behavior
A Switch that uses the standard smooth animation.
Reproduction
https://github.com/roxlu/react-native-tabbar-with-switches-issue
Platform
Packages
Environment
The text was updated successfully, but these errors were encountered: