Commit 12cb193
authored
[Android] Don't delay child pressed state in buttons (#4296)
## Description
react/react-native#57127 added an override for
`shouldDelayChildPressedState` in React Native containers to prevent
them from delaying the pressed state in children. All components
extending them will get this for free, but our button implementation
doesn't extend `ReactViewGroup` but `ViewGroup`.
This PR adds override for `shouldDelayChildPressedState` in
`RNGestureHandlerButtonViewManager`.1 parent 5e6ff91 commit 12cb193
1 file changed
Lines changed: 2 additions & 0 deletions
File tree
- packages/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1084 | 1084 | | |
1085 | 1085 | | |
1086 | 1086 | | |
| 1087 | + | |
| 1088 | + | |
1087 | 1089 | | |
1088 | 1090 | | |
1089 | 1091 | | |
| |||
0 commit comments