W3C home > Mailing lists > Public > public-pointer-events@w3.org > January to March 2017

[pointerevents] Pointer events & disabled form elements

From: Jake Archibald via GitHub <sysbot+gh@w3.org>
Date: Fri, 17 Feb 2017 10:32:13 +0000
To: public-pointer-events@w3.org
Message-ID: <issues.opened-208400290-1487327532-sysbot+gh@w3.org>
jakearchibald has just created a new issue for 
https://github.com/w3c/pointerevents:

== Pointer events & disabled form elements ==
http://jsbin.com/botohet/edit?js,output

Neither Edge or Chrome fire pointer events when the mouse is over 
disabled form controls. This isn't the form control preventing 
propagation - it also prevents capturing listeners at the window 
level.

This seems to be mirroring mouse events, but this behaviour isn't in 
the spec (and isn't how Firefox behaves), and appears to be legacy.

Given that pointer events are somewhat of a clean break, shouldn't 
this behaviour be changed, or at least specced?

Thankfully `setPointerCapture` can be used to work around it.

Please view or discuss this issue at 
https://github.com/w3c/pointerevents/issues/177 using your GitHub 
account
Received on Friday, 17 February 2017 10:32:29 UTC

This archive was generated by hypermail 2.3.1 : Friday, 17 February 2017 10:32:30 UTC