atropos icon indicating copy to clipboard operation
atropos copied to clipboard

Scrolling not taken into account when moving mouse

Open laurens94 opened this issue 4 months ago • 2 comments

Check that this is really a bug

  • [X] I confirm

Reproduction link

https://atroposjs.com/

Bug description

When hovering over an Atropos element and using the mouse wheel to scroll, the 3D effect seems to be calculated based on the previous relative position.

screenrecording atropos.webm

Expected Behavior

The position should be updated based on the actual pointer position, instead of the position set during onPointerEnter

Actual Behavior

No response

Atropos version

v2.0.2

Platform/Target and Browser Versions

Firefox and Chrome

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the docs.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • [X] Make sure this is a Atropos issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • [ ] I'm willing to open a PR

laurens94 avatar Feb 22 '24 10:02 laurens94