Re: [pointerevents] Clarify that pointer event listeners are passive by default (#360)

Just to add to this regarding passiveness. I also commented something about this [there](https://github.com/w3c/pointerevents/issues/359#issuecomment-823274011).

I guess to be more accurate there are not passive (in the way that DOM spec [says](https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-passive)) as you can prevent default a pointerdown and it will cause the corresponding mouse events not to fire. But the default action of pointerevents have nothing to do with scrolling as already [specified](https://www.w3.org/TR/pointerevents2/#attributes-and-default-actions) in the PointerEvent spec. Although not explicitly called out that scrolling is not part of the default action.
Just a note that if you do add a `passive: true` to pointerevent listener the `preventDefault` on that doesn't work and compat mouse events [always fire](https://jsbin.com/meyocuqugu/edit?html,console,output).

-- 
GitHub Notification of comment by NavidZ
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/360#issuecomment-824340488 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 21 April 2021 20:35:51 UTC