- From: Mason Freed <notifications@github.com>
- Date: Thu, 09 Jun 2022 15:02:13 -0700
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 9 June 2022 22:02:25 UTC
Thanks for the ping. For the popup API, there are [two events proposed](https://open-ui.org/components/popup.research.explainer#events), `show` and `hide`. The `hide` event is fired whenever the popup is hidden for any reason. It is not cancelable. For this issue, I think you'd want a new/fresh event like `contextmenudismiss`, because it needs to be fired on the element that was the originator of the context menu, not the context menu itself. Let me know if I understood your question correctly. If so, https://github.com/openui/open-ui/issues/426 would be resolved by making the new `contextmenudismiss` event be a light dismiss trigger for popups. I think that part makes total sense. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/uievents/issues/309#issuecomment-1151665376 You are receiving this because you are subscribed to this thread. Message ID: <w3c/uievents/issues/309/1151665376@github.com>
Received on Thursday, 9 June 2022 22:02:25 UTC