Re: [pointerevents] Add support for laptop touchpads responding to the `touch-action` prop (#478)

I've commented on the bugzilla issue https://bugzilla.mozilla.org/show_bug.cgi?id=1849690#c6 but for reference here:

> my question would be: is the gesture performed on the trackpad analysed/processed by the browser itself, or is it lower down (e.g. some driver/utility at OS level) and what is actually being sent to the browser are effectively scrollwheel / CTRL+scrollwheel events? if the latter, it would probably not make sense/should not be directly possible to prevent the behaviour using touch-action, and the OP should instead listen for, and preventDefault(), scrollwheel events?

> [...] touch-action would be inappropriate in this case, and that the more appropriate approach for the OP is to explore preventing scrollwheel events (otherwise, you would end up in a similarly strange situation where touch-action would otherwise prevent actual CTRL+scrollwheel actions done with a mouse rather than a trackpad/touchpad).

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


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

Received on Thursday, 24 August 2023 15:47:06 UTC