Page MenuHomePhabricator

[native] Migrate messageContainerStyle in useAnimatedMessageTooltipButton to Reanimate V2 API
ClosedPublic

Authored by angelika on Wed, Dec 11, 8:33 AM.
Tags
None
Referenced Files
F3491713: D14119.id46337.diff
Wed, Dec 18, 8:02 PM
F3489103: D14119.id46413.diff
Wed, Dec 18, 11:36 AM
F3485548: D14119.diff
Tue, Dec 17, 9:58 PM
Unknown Object (File)
Mon, Dec 16, 10:38 PM
Unknown Object (File)
Fri, Dec 13, 11:17 PM
Subscribers
None

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

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

angelika held this revision as a draft.
This revision is now accepted and ready to land.Wed, Dec 11, 7:51 PM

Rebase and address feedback