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
I have an array of points where each point's x and y value is a SharedValue<number>.
I use the points within usePathValue to create my path. This path is consumed by a <TextPath /> and a <Path />.
When I update the path values from within my GestureDetector, the <Path /> is updated but the <TextPath /> does not seem to handle the updates. Only after updating the text property on <TextPath />, the new path is adapted.
@wcandillon does this help? It's a super simple example without gestures, but same issue:
The <TextPath /> does not re-render with an updated path from usePathValue, whereas the <Path /> component re-renders as expected.
Description
I have an array of points where each point's x and y value is a
SharedValue<number>
.I use the points within
usePathValue
to create my path. This path is consumed by a<TextPath />
and a<Path />
.When I update the path values from within my GestureDetector, the
<Path />
is updated but the<TextPath />
does not seem to handle the updates. Only after updating the text property on<TextPath />
, the new path is adapted.The text was updated successfully, but these errors were encountered: