Re: [w3c/uievents] Specify wheel event groups (PR #344)

@dlrobertson commented on this pull request.

Just a first pass at describing wheel event groups. Critiques would be greatly appreciated!

> @@ -2236,6 +2237,19 @@ myDiv.addEventListener("auxclick", function(e) {
    EVENT{wheel} event with multiple non-zero axes or as separate
    EVENT{wheel} events for each non-zero axis.
 
+   A <a>user agent</a> SHOULD create a wheel event group when the first
+   wheel event is fired, so that all subsequent wheel events within a
+   implementation-specific amount of time can be targetted at the same
+   element.
+
+   <p class="example">
+   If a series of wheel events targetted in a scrollable element start
+   above a child element, later events for the same user gesture may
+   occur over the child element. In the case that {{Event/preventDefault()}}
+   is called in a wheel event handler for the child element, targetting
+   the child element could result in unexpected behavior for the user.
+   </p>

Not sure if the example text is helpful as is, but I thought some sort of example might clarify things.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/pull/344#pullrequestreview-1342738892
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/pull/344/review/1342738892@github.com>

Received on Thursday, 16 March 2023 01:51:40 UTC