Re: [pointerevents] Mouse and Pointer events from a stationary mouse (#529)

> > the boundary events should fire after a layout change
> 
> I think an important caveat here is not with any expected timing, right? E.g. similar to scrolling and hover effects it can be delayed, not requiring frame-by-frame hit testing and boundary event updates. This should help mitigate the performance cost.

I agree with that. Firefox tries to do that at next vsync for both performance and security. Dispatching boundary events synchronously at every layout change would makes things complicated because the listeners may change the layout again.

-- 
GitHub Notification of comment by masayuki-nakano
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/529#issuecomment-2526582069 using your GitHub account


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

Received on Monday, 9 December 2024 01:16:06 UTC