Addresses ENG-8148.
Note that I replaced animateTowards with something more simple. The difference is the animation is reversed while partway through, it will still take the same length as if it was started from an end state.
Differential D12166
[native] Convert ChatThreadListSearch to Reanimated 2 syntax ashoat on May 21 2024, 2:42 PM. Authored by Tags None Referenced Files
Subscribers
Details Addresses ENG-8148. Note that I replaced animateTowards with something more simple. The difference is the animation is reversed while partway through, it will still take the same length as if it was started from an end state. On both iOS and Android physical devices, tested ChatThreadListSearch to confirm no functionality regressed.
Diff Detail
Event Timeline
Comment Actions Actually, I experimented with this and found 100ms to be too short. I'd like to change it to 300ms. Meanwhile, I decided that we had too many animated variables here... we don't need to have a boolean that triggers animation, we can just trigger animation directly. Finally: I noticed some unrelated issues with this component. Will address them in a later diff.
|