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

Cannot use the mouse wheel while dragging and element over a Konva element #1776

Open
pf-costa opened this issue Jun 11, 2024 · 3 comments
Open

Comments

@pf-costa
Copy link

pf-costa commented Jun 11, 2024

If I start to drag an element, move it over a Konva element and use the mouse wheel, I'm unable to scroll the window.

Reproducible example:
https://jsbin.com/vexexoqihe/edit?html,js,output

@lavrton
Copy link
Member

lavrton commented Jun 12, 2024

I don't have a mouse with a wheel to test, so I will need a help from someone to take a look into this.

@pf-costa
Copy link
Author

Thanks for the reply @lavrton 🙏
You can also reproduce the issue with a trackpad/touchpad. The user is not able to scroll the page if he is dragging an element and it is over a Konva element.

@lavrton
Copy link
Member

lavrton commented Jun 17, 2024

I can reproduce it. But I am not sure what is the root of the issue. I don't see any event.preventDefault() calls. Also it works ok in Firefox.

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

2 participants