How to interpolate color in Layout Animations? #2261
Unanswered
enesozturk
asked this question in
Q&A
Replies: 1 comment
-
Still valid 👀 @jakub-gonet @kmagiera 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!, I am trying Layout Animations and it is awesome. I got what I need almost by animating position, width and height. But when I want to interpolate
backgroundColor
I could not imagine how to do that. BecauseinterpolateColor
function needsSharedValue
and inside the entering animation worklet, we do not have shared value. Is it possible to do that?Here is my worklet;
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions