Re: [pointerevents] Extend pointer events to support raw trackpad data (#206)

It is impossible to make *proper* custom intertial scrolling based on current `wheel` events.

The closest I could get is the following, but because there's no way to detect start/end of interaction, the janky inertial scroll happens even when fingers are still on the trackpad (tested in Chrome):

https://codepen.io/trusktr/pen/YzGbeKG

It would be super great to have the ability to know when any finger goes down, moves, and goes up on a trackpad.

I would imagine pointer events on touchpads would work the same, but the event would have some flag that says it's happening on a touchpad instead of in the window.

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


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

Received on Monday, 1 February 2021 08:37:26 UTC