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

ReanimatedSwipable Delayed #3147

Closed enchorb closed 1 month ago

enchorb commented 1 month ago

Description

Tried upgrading from Swipeable to ReanimatedSwipable but had to rollback.

For some reason the progress value on ReanimatedSwipable updates delayed as to what happened on the UI, the swipeable is already open but the progess.value, onSwipeableOpen, etc all fire 1-2 seconds after. This was not an issue with Swipeable

Steps to reproduce

Test side-by-side a Swipeable and ReanimatedSwipable

Snack or a link to a repository

N/A

Gesture Handler version

2.20.0

React Native version

0.75.4

Platforms

iOS

JavaScript runtime

Hermes

Workflow

Expo bare workflow

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

iOS simulator

Device model

iPhone 16 Pro Max - iOS 18

Acknowledgements

Yes

github-actions[bot] commented 1 month ago

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

latekvo commented 1 month ago

Hi @enchorb,

Thank you for reporting this issue,

Please let me know if the following PR resolves it for you: (link)

enchorb commented 2 weeks ago

@latekvo sorry for the late reply, this solved my issue! Is this going to be released soon?