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

Does it support pan by right button of mouse? #296

Open
YornQiu opened this issue Feb 23, 2023 · 4 comments
Open

Does it support pan by right button of mouse? #296

YornQiu opened this issue Feb 23, 2023 · 4 comments

Comments

@YornQiu
Copy link

YornQiu commented Feb 23, 2023

right click will popup the contextmenu, how to prevent?

@YornQiu YornQiu changed the title Does is support disable pan by left button of mouse? Does it support pan by right button of mouse? Feb 23, 2023
@HumboldtK
Copy link

Add this to your element oncontextmenu="return false;"

@Jacksonant
Copy link

let say i do the oncontextmenu preventdefault(), will it disable my panning action?

@Jacksonant
Copy link

right click will popup the contextmenu, how to prevent?

Did u manage to find out the solution?

@YornQiu
Copy link
Author

YornQiu commented Nov 6, 2023

No. And sorry, I haven't used it in a while, can't give u a suggestion.

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

3 participants