Currently, I am working on a JavaScript application that needs to be compatible with both IE11 and Edge browsers. While testing in IE11, I observed the event chain (referenced from ) as follows:
pointerover > mouseover > pointerenter > mouseenter > pointerdown > mousedown > (pointermove > mousemove)+ > pointerup > mouseup > (lostpointercapture) > pointerout > mouseout > pointerleave > mouseleave > focus > click
The application is already set up to handle both mouse and touch events. To prevent conflicts, I use preventDefault() on all pointer events to cancel out corresponding mouse events. However, even after this handling, the click event still causes issues. Is there any native method to disable the firing of the click event at the end of the event chain?