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
F3506585: D14119.id46476.diff
Fri, Dec 20, 5:26 PM
F3505992: D14119.id46413.diff
Fri, Dec 20, 3:16 PM
F3505048: D14119.id46512.diff
Fri, Dec 20, 12:02 PM
Unknown Object (File)
Thu, Dec 19, 10:54 PM
Unknown Object (File)
Thu, Dec 19, 7:27 PM
Unknown Object (File)
Thu, Dec 19, 7:07 PM
Unknown Object (File)
Thu, Dec 19, 4:21 AM
Unknown Object (File)
Thu, Dec 19, 3:57 AM
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
No Lint Coverage
Unit
No Test Coverage

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