software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
6.13k stars 982 forks source link

[`ReanimatedSwipeable`] Create separate spring configs to avoid overwriting ones already being used #3045

Closed latekvo closed 3 months ago

latekvo commented 3 months ago

Description

ReanimatedSwipeable > animateRow() used to use one springConfig for two separate withSpring animations.

3044 highlighted that this approach could cause issues.

Test plan

not applicable, no working repro was provided, and i couldn't reproduce this issue with different code either