Re: [w3c/uievents] KeyboardEvent.getKeyState() (Issue #374)

> For the web, this approach isn't viable as third party web extensions can interfere by preventing propagation.

The capturing phase happens before the bubbling phase, so couldn't you set a keyboard event handler at the top level (Window? Document?) in the capturing phase, so no stopPropagation could interfere with it?

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

Message ID: <w3c/uievents/issues/374/2113141516@github.com>

Received on Wednesday, 15 May 2024 18:05:13 UTC