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

[Pressable] `onPressOut` does not get called #2975

Closed m-bert closed 4 months ago

m-bert commented 4 months ago

Description

Sometimes onPressOut doesn't get called. I'm not yet sure why it happens though.

https://github.com/software-mansion/react-native-gesture-handler/assets/63123542/3b5d4cf1-d022-49b1-9c11-0a10784a437b

Steps to reproduce

  1. Clone our repository
  2. Open Gesturized pressable example
  3. Scroll to Functional styling example
  4. While scroll is active, click on our Pressable - you'll notice that its background will stay red

Snack or a link to a repository

https://github.com/software-mansion/react-native-gesture-handler

Gesture Handler version

2.17.1

React Native version

0.74.1

Platforms

Android, iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes