Open onionhammer opened 5 years ago
You could also use style={{userSelect: "none"}}
in order to prevent text selection.
When I long click on a button, the longpress event handler triggers, but it doesnt cancel the context menu from popping up
Found this example of one that does (somehow with jquery bastardy) cancel the context menu, for reference http://jsfiddle.net/z9ZNU/53/
Anyway, I found out I got the same issue. Do you find any solutions?
When I long click on a button, the longpress event handler triggers, but it doesnt cancel the context menu from popping up
Found this example of one that does (somehow with jquery bastardy) cancel the context menu, for reference http://jsfiddle.net/z9ZNU/53/