bac867f228cd7782549af50ffe9646249c78350b
- Move scroll position and bounding client rect calculations from `pointermove` handler to `requestAnimationFrame` loop. - Use `pointerPosRef` to store raw event coordinates, reducing overhead in high-frequency event handlers. - Ensure spotlight effect correctly accounts for scroll position updates during animation frames. - Add regression test to verify `scrollX` is not accessed during pointer events. Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
Description
No description provided
Languages
TypeScript
79.1%
CSS
20.3%
HTML
0.6%