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
If the prop animation is set on the Thumb, when Switch is toggled it looks like this:
Screen.Recording.2024-04-04.at.13.33.56.mov
However, it works as expected when I remove the animation prop.
Screen.Recording.2024-04-04.at.13.36.59.mov
The 250ms animation looks like this:
{
'250ms': {
type: 'timing',
duration: 250,
},
}
I use animations from @tamagui/animations-moti.
Expected Behavior
The Thumb should move to the correct position when it's checked state changes if the Switch is checked by default, no matter if the animation prop is set or not.
Tamagui Version
1.94.3
Platform (Web, iOS, Android)
iOS
Reproduction
Configure your app to use @tamagui/animations-moti as an animations driver, and set up the 250ms animation from above.
Current Behavior
Hi!
In my app, I have a
<Switch />
that is checked by default, like this:If the prop
animation
is set on the Thumb, when Switch is toggled it looks like this:Screen.Recording.2024-04-04.at.13.33.56.mov
However, it works as expected when I remove the
animation
prop.Screen.Recording.2024-04-04.at.13.36.59.mov
The
250ms
animation looks like this:I use animations from
@tamagui/animations-moti
.Expected Behavior
The Thumb should move to the correct position when it's checked state changes if the Switch is checked by default, no matter if the
animation
prop is set or not.Tamagui Version
Platform (Web, iOS, Android)
Reproduction
@tamagui/animations-moti
as an animations driver, and set up the250ms
animation from above.System Info
The text was updated successfully, but these errors were encountered: