Are we able to assign an animation to a shared value? #2085
Unanswered
diaozheng999
asked this question in
Q&A
Replies: 0 comments
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.
-
I'm attempting to assign an animation (created by
withTiming
) to a shared value within a worklet, and am getting a segfault whenever this happens.I've tried to update it in the following ways:
useAnimatedReaction
useAnimatedStyle
__reanimatedModuleProxy.startMapper
So the code looks like:
From the stack trace, it seems to be a JSI function call which segfaulted. However, I was unable to pinpoint where the issue is exactly.
Greatly appreciate if anyone can help narrowing down the cause of the segfault, and direct me to implement the above as intended.
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions