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 Authored by angelika on Dec 11 2024, 4:33 PM.
Details Summary 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 Test Plan 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
Event Timelineangelika held this revision as a draft. Harbormaster completed remote builds in B33019: Diff 46337.Dec 11 2024, 6:40 PM2024-12-11 18:40:19 (UTC+0) This revision is now accepted and ready to land.Dec 12 2024, 3:51 AM2024-12-12 03:51:04 (UTC+0) Harbormaster completed remote builds in B33091: Diff 46413.Dec 13 2024, 3:40 PM2024-12-13 15:40:06 (UTC+0) Harbormaster completed remote builds in B33135: Diff 46476.Dec 16 2024, 4:32 PM2024-12-16 16:32:24 (UTC+0) Closed by commit rCOMM76af728667fe: [native] Migrate messageContainerStyle in useAnimatedMessageTooltipButton to…. · Explain WhyDec 16 2024, 9:34 PM2024-12-16 21:34:44 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 46337 |