Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onPanning event is not fired when panning is caused by velocity and not the user directly #443

Open
ZayneLu opened this issue Jan 4, 2024 · 0 comments

Comments

@ZayneLu
Copy link

ZayneLu commented Jan 4, 2024

Describe the bug
The onPanning event is not fired when panning is caused by the velocity animation after the user release the mouse click.

To Reproduce
See this CodePen, and monitor the browser console; the event is fired when panning with the mouse, but once the mouse is released, the event is not fired, even though panning is still occurring.

Expected behavior
The onPanning event should be fired any time panning occurs, including when panning is occurring due to velocity.

Desktop (please complete the following information):

  • OS: Windows 10
  • The issue does not appear to be browser specific; the behavior is the same in Chrome, Vivaldi, and Firefox.
@ZayneLu ZayneLu closed this as completed Jan 9, 2024
@ZayneLu ZayneLu reopened this Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant