In my app, i am listening to both onTap and and onPress event and wants to react differently for both of them. Wondering if there is a way to cancel onTap event when i have already responded on onPress event.
So for eg. when users presses button for a longer time, we wanted to show different options vs when user taps the button, we just respond on the default options.
Currently it seems like it always dispatches onTap event regardless of onPress event.
In my app, i am listening to both onTap and and onPress event and wants to react differently for both of them. Wondering if there is a way to cancel onTap event when i have already responded on onPress event.
So for eg. when users presses button for a longer time, we wanted to show different options vs when user taps the button, we just respond on the default options.
Currently it seems like it always dispatches onTap event regardless of onPress event.