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
5.85k stars 954 forks source link

Pan gesture always runs simultaneously with the PagerView #2870

Closed j-piasecki closed 5 days ago

j-piasecki commented 3 weeks ago

Description

It looks like the pan gesture is not canceled when the RootViewGestureHandler activates, because it's already in the active state. I'm not sure whether it should be active at this point, or should be canceled despite being active.

Steps to reproduce

  1. When on the first page, the drawer never opens
  2. When on the second page, the drawer always opens simultaneously with the page switching to the first one

Snack or a link to a repository

https://github.com/lukmccall/ghandpager

Gesture Handler version

2.16.0

React Native version

0.73.6

Platforms

Android

JavaScript runtime

Hermes

Workflow

Expo bare workflow

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

Android emulator

Device model

No response

Acknowledgements

Yes