Re: [w3c/uievents] We don't have a definition for "contextmenu" event (#279)

@Herst The [proposed PR](https://github.com/w3c/uievents/pull/316) makes "contextmenu" event a PointerEvent instance.  So suppressing the context-menu from a touch interaction should be trivial:
<code>
  if (event.pointerType === "touch") event.preventDefault();
</code>

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/279#issuecomment-937987895

Received on Thursday, 7 October 2021 17:07:06 UTC