Page MenuHomePhabricator

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

Authored by angelika on Dec 11 2024, 8:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 3, 6:21 AM
Unknown Object (File)
Tue, Feb 25, 3:16 AM
Unknown Object (File)
Thu, Feb 20, 2:25 AM
Unknown Object (File)
Tue, Feb 18, 10:07 AM
Unknown Object (File)
Wed, Feb 12, 7:02 PM
Unknown Object (File)
Wed, Feb 12, 7:01 PM
Unknown Object (File)
Wed, Feb 12, 7:01 PM
Unknown Object (File)
Mon, Feb 10, 5:42 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
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.Dec 11 2024, 7:51 PM

Rebase and address feedback