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

@zcorpan commented on this pull request.



> @@ -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>

IMO the last sentence is not necessary and might confuse more than clarify.

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

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

Received on Wednesday, 31 May 2023 09:22:54 UTC