Replies: 1 comment 1 reply
-
A key of prop shouldn't be a shared value You can get better idea from the code below
|
Beta Was this translation helpful? Give feedback.
1 reply
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 am trying to animate clip, x value using reanimated 3. x doesn't accept offset (Reanimated shared value) and of course, offset.value doesn't update with the gesture. I also tried to animate translate values to no avail. How would I achieve this?
<BackdropFilter
opacity={0.1}
clip={{
x: offset,
y: waveform.height,
width: containerWidth,
height: waveform.height,
}}
filter={
<ColorMatrix
matrix={theme === "dark" ? PARTIAL_E_S_B_FILTER_DARK : PARTIAL_E_S_B_FILTER_LIGHT}
/>
}
/>
Beta Was this translation helpful? Give feedback.
All reactions