-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
interpolateColor and withTiming with duration < 250ms dont work in web #1450
Comments
Hey @gust42 code
|
Can you try with a lower duration on the color timing aswell? I have found that its not exacly tied to 250ms |
just for certainty - Do you also have this issue when you run my example code? |
Not initially but when i lowererd duration on this line |
I found this issue and I’m working on it. If you need fast fix since we fix this issue, downgrade |
Excellent! Thanks for the help 👍 |
Yeah, this one affects me too. |
My PR for |
Description
When doing a withTiming color animation on web with less than 250 in duration and a scale withSpring animation it reverts to first color on completion
Using interpolateColor function from react-native-reanimated but tested with the one from react-native-redash and same issue
Screenshots
Web example with error
working example on emulator
Steps To Reproduce
Expected behavior
Row should turn green in web
Actual behavior
Row goes back to background color
Snack or minimal code example
here below is the component getting set active on press. Removed other animations for simplicty
Package versions
The text was updated successfully, but these errors were encountered: