This is a straightforward change: use progressV2 variable, use useAnimatedStyle instead of useMemo for styles and put the interpolation in useAnimatedStyle worklet.
Depends on D14118
Differential D14119
[native] Migrate messageContainerStyle in useAnimatedMessageTooltipButton to Reanimate V2 API angelika on Wed, Dec 11, 8:33 AM. Authored by Tags None Referenced Files
Subscribers None
Details This is a straightforward change: use progressV2 variable, use useAnimatedStyle instead of useMemo for styles and put the interpolation in useAnimatedStyle worklet. Depends on D14118 Open up text message tooltip and verify it's animated correctly. Also navigate to the thread from the tooltip and verify the transition looks right.
Diff Detail
|