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

Re: [pointerevents] Click event while a pointer event is captured

From: Navid Zolghadr via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 Dec 2017 01:26:49 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-349831669-1512610008-sysbot+gh@w3.org>
> Based on the previous resolution of this ticket, this seems like a browser bug. Both pointerdown and pointerup occur on the cr-toggle element because of pointer capture. As such, click should be fired on cr-toggle and not on div.clickable-row.

@scottgonzalez your conclusion is totally right. I believe there is no need to change in the spec to address this.
The only problem was that when we wanted to have the change in Chrome there were some websites that stopped working correctly. So we had to revert it. I believe both Firefox and Edge do the same thing as current Chrome implementation (i.e. not honoring the capture when sending click). Assuming we can get around the compat issues then it will be the browser bugs.

But if not we may need to make an exception for the click case solely for the compat reasons which is not my favorite. Either way I'm happy with closing this for now and only keep the browser bugs open for this issue.

-- 
GitHub Notification of comment by NavidZ
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/75#issuecomment-349831669 using your GitHub account
Received on Thursday, 7 December 2017 01:26:50 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 7 December 2017 01:26:51 UTC