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

Re: [pointerevents] Mouse back/forward buttons: page navigation or JS events?

From: Mustaq Ahmed via GitHub <sysbot+gh@w3.org>
Date: Wed, 22 Nov 2017 17:14:40 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-346416510-1511370877-sysbot+gh@w3.org>
Navigation being a default action in `pointerdown` or `pointerup` narrows down the "scope" of canceling navigations, which could be better in terms of not breaking current users' expectations.  Otherwise, navigation would be cancelled through canceling any of {`pointerdown`, `pointerup`, `auxclick`}.

Between `pointerdown` and `pointerup`, `pointerup` seems a safer choice because it's perhaps reasonable to assume that canceling `pointerdown` is more common than canceling `pointerup`.

Do we have any data on how popular "forward/back buttons for navigation" is?  Or what fraction of websites cancel `pointerup` events?  If the product of these two numbers is small, the change should be safe.


-- 
GitHub Notification of comment by mustaqahmed
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/191#issuecomment-346416510 using your GitHub account
Received on Wednesday, 22 November 2017 17:14:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 22 November 2017 17:14:50 UTC