Re: [w3c/uievents] Mouse back/forward buttons: page navigation or JS events? (#277)

Actually it is perfectly well defined how to handle this in the current specification - for example, read:
https://dom.spec.whatwg.org/#dom-event-preventdefault

This specifies that event.preventDefault prevents the default action, which is exactly what is desired to allow handling the fourth/fifth buttons internally.  Just prevent default on them and it SHOULD work.  In fact it is a bug in the browser if it doesn't work.

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

Message ID: <w3c/uievents/issues/277/2277853487@github.com>

Received on Friday, 9 August 2024 12:39:25 UTC