react-native-gesture-handler
react-native-gesture-handler copied to clipboard
Declarative API exposing platform native touch and gesture system to React Native.
## Description Currently `onHandlerStateChange` will only send events whenever the handler state changes. However for the use case where one wants to resign highlight from the button whenever the user...
### Description `` prevents react-native `Modal` from rendering properly on Android emulators and real devices. [Screenshot](https://github.com/user-attachments/assets/8d28c70a-c6f2-408f-a116-a8fd94e04151) ### Steps to reproduce 1. Render reanimated Swipeable component 2. Render a visible Modal...
### Description With a `Text` component nested inside any touchable (e.g. `TouchableOpacity`), a failed touch of `Text` should bubble the event back up to the wrapping touchable, as happens with...
## Description This PR optimises pre-build time of Gesture Handler android, taking it down from ~7s to ~0.6s, a 11x improvement. - baseline: - time 6.776s ([link](https://gradle.com/s/h5iselfgzhafi)) - time 7.391s...
### Description Continuing my adventures with these APIs. I have three gestures: - A top-level Pan handler for a swipeable drawer. - A Pager. The Pager has multiple pages. -...
### Description There is an issue with the touch events in a ScrollView when using the new architecture. Specifically, below a ScrollView, there is a View component with a minWidth...
## Description removes the following components: - `DrawerLayout` - `Swipeable` - `BetterHorizontalDrawer` draft component - `Swipeable` draft component These components were also removed from all files referencing them, such as...
### Description According to the docs, `requireExternalGestureToFail` is like the inverse of `blocksExternalGesture`. However, I can't actually get `requireExternalGestureToFail` to do anything useful with a native gesture. In particular, I...
## Description removes the following functions and classes: - `RNGestureHandlerEnabledRootView` (android) - `gestureHandlerRootHOC` ## Test plan - there should be no errors, and no new warnings thrown as compared to...
### Description When there are no callbacks, RNGH doesn't detect that the callbacks aren't worklets (there aren't any) so it tries to send events to the UI runtime. This causes...