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

Konva swallowing button 4 and 5 (mouse backward and mouse forwards buttons) #1465

Open
greenbech opened this issue Dec 21, 2022 · 2 comments

Comments

@greenbech
Copy link

greenbech commented Dec 21, 2022

Hello, and thank you for the great library!

I would like to be able to navigate backward and forwards with an external mouse also over a Konva canvas, but it seems like Konva is swallowing these buttons (e.g. in some way calling preventDefault()).

Reproduce

If you go to any Konva demo and click on the mouse backward or mouse forward button the browser window will not navigate to the previous or next page. In this example specifically, if you click on these buttons over the grey area, it will brush the canvas, just as if you clicked with your primary button.

@lavrton
Copy link
Member

lavrton commented Jan 6, 2023

Do you want to make a pull request with the fix? Probably we should filter buttons...

@lavrton
Copy link
Member

lavrton commented Nov 2, 2023

Closing as not priority for Konva. Happy to apply related Pull Request.

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