[csswg-drafts] [css-anchor] Allow anchoring to pointer (#8639)

jakearchibald has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-anchor] Allow anchoring to pointer ==
Right now, if you want to drag an element on the web, you need to listen for `pointermove` events and update the position of the element. This means the operation is bound by the event loop, and can easily jank.

It feels like anchoring could solve this, by anchoring to [a particular pointer](https://w3c.github.io/pointerevents/#dom-pointerevent-pointerid). Then, the element can be moved to a layer in the compositor, and its position can be updated without blocking on the event loop. 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8639 using your GitHub account


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

Received on Friday, 24 March 2023 11:57:30 UTC