Closed m-bert closed 4 months ago
When you nest Pressables the inner one should activate. Right now you can see logs form both - inner and outer one.
Pressables
https://github.com/software-mansion/react-native-gesture-handler/assets/63123542/6e72e451-b014-44bf-8291-1c26792a1a84
Irrelevant
2.17.1
0.74.1
Android, iOS, Web
None
No response
Yes
Description
When you nest
Pressables
the inner one should activate. Right now you can see logs form both - inner and outer one.https://github.com/software-mansion/react-native-gesture-handler/assets/63123542/6e72e451-b014-44bf-8291-1c26792a1a84
Steps to reproduce
Use the following code to test this issue:
```tsx import React from 'react'; import { StyleSheet, View, Text } from 'react-native'; import { Pressable as GHPressable } from 'react-native-gesture-handler'; import { Pressable as RNPRessable } from 'react-native'; const onPressCallback = (type: string) => console.log(`${type} pressable onPress`); const onPressInCallback = (type: string) => console.log(`${type} pressable onPressIn`); const onPressOutCallback = (type: string) => console.log(`${type} pressable onPressOut`); export default function App() { return (Snack or a link to a repository
Irrelevant
Gesture Handler version
2.17.1
React Native version
0.74.1
Platforms
Android, iOS, Web
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes