Page MenuHomePhabricator

[native] Cancel animations when gesture is started in FullScreenViewModal
ClosedPublic

Authored by angelika on Feb 6 2025, 5:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 5, 8:24 PM
Unknown Object (File)
Sat, Apr 5, 3:08 PM
Unknown Object (File)
Sat, Apr 5, 12:08 PM
Unknown Object (File)
Sat, Apr 5, 11:10 AM
Unknown Object (File)
Fri, Apr 4, 8:06 PM
Unknown Object (File)
Fri, Apr 4, 7:59 PM
Unknown Object (File)
Fri, Apr 4, 5:09 PM
Unknown Object (File)
Fri, Apr 4, 1:40 PM
Subscribers

Details

Summary

https://linear.app/comm/issue/ENG-8150/convert-fullscreenviewmodal-to-reanimated-2-syntax

As mentioned here: https://phab.comm.dev/D14305 in the original implementation there are a couple of places that stop animation if gesture is active. In this diff I added this logic.

The builds will fail due to some leftover reanimated v1 code. I'll remove it in the next diffs for diffs readability.

Depends on D14308

Test Plan

Test after migration: try to start a gesture when animation is in progress

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

angelika held this revision as a draft.
angelika edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Feb 17 2025, 4:01 AM

I'd be surprised if this diff was the cause, as here we cancel animations at the start of a pan or pinch, but in the video we see an issue at the conclusion of a pan.

This revision was landed with ongoing or failed builds.Feb 25 2025, 2:48 AM
This revision was automatically updated to reflect the committed changes.