react-native-paper
react-native-paper copied to clipboard
fix: fixed onLongPress not working on touchableRipple
Summary
if we don't pass the onPress
props then onLongPress
was also not working in the TouchableRipple
component.
Fixes: #3303
Test plan
I checked it by running the yarn run test
, this change is simple and does not affect any files.
Hey @dakshbhardwaj, thank you for your pull request 🤗. The documentation from this branch can be viewed here.