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

I wish this would be reconsidered. 😊

Just as an example, MacOS has a scroll bounce/overflow effect used in every native app on MacOS.

Blink (and thus, electron) only support this effect on the main body of the HTML page.

This means its currently impossible to replicate this effect with web technologies. There are two possibilities to resolve this:

 1. Expose a more detailed, modern trackpad API for [projects such as elastic-scroll-polyfill](https://github.com/atomiks/elastic-scroll-polyfill/issues/3#issuecomment-353868996) to better replicate this behavior with Javascript, or
 2. [A CSS property to enable this effect on a scrollable \<div\>](https://bugs.chromium.org/p/chromium/issues/detail?id=546520#c_ts1605277237)

I'd take either approach, but it really feels like the raw trackpad event data should be made available. In 2020, we have WebUSB, bluetooth apis and so much more, but for some reason we don't have trackpad event data to allow web apps to replicate a really fundamental macOS app design element.

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


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

Received on Saturday, 14 November 2020 04:19:12 UTC