Why tap event is still working on pc browser by mouse click?
g0ne150 opened this issue · 6 comments
g0ne150 commented
I wonder why?
madjam002 commented
onTouchTap
also handles mouse events on desktop.
You can use the shouldRejectClick
config option to prevent click events from being captured.
g0ne150 commented
@madjam002 i just figure it out two mins ago.
g0ne150 commented
@madjam002 It doesn't reject click on desktop by default, so I wonder why onTouchTap
is still fired by click on desktop
madjam002 commented
onTouchTap
will fire from a click event, that's by design.
mrdulin commented
same issue. Maybe the document should be more clear.