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: Scott González via GitHub <sysbot+gh@w3.org>
Date: Wed, 06 Dec 2017 22:34:56 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-349797681-1512599695-sysbot+gh@w3.org>
> Actually cr-toggle itself calls stopPropagation() already, so if the event was fired on cr-toggle, the div.clickable-row click handler would not be triggered in the first place.

I don't think that's correct behavior if you're trying to build a drop-in replacement for a checkbox. It is the row's responsibility to handle the composition since it is the composed widget. You cannot expect your building blocks to anticipate every possible composition.

-- 
GitHub Notification of comment by scottgonzalez
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/75#issuecomment-349797681 using your GitHub account
Received on Wednesday, 6 December 2017 22:34:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 6 December 2017 22:34:59 UTC