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

onNodeRightClick doesnt on macbook keyboard+trackpad #350

Open
eunukasiko opened this issue May 10, 2024 · 2 comments
Open

onNodeRightClick doesnt on macbook keyboard+trackpad #350

eunukasiko opened this issue May 10, 2024 · 2 comments

Comments

@eunukasiko
Copy link

Describe the bug
onNodeRightClick is not called

To Reproduce
Steps to reproduce the behavior:

  1. Hold control key
  2. Press the trackpad button

Expected behavior
onNodeRightClick should be called

Desktop (please complete the following information):

  • OS: [e.g. iOS] macOS 13.6.6 (22G630)
  • Browser [e.g. chrome, safari] Chrome Version 124.0.6367.156 (Official Build) (x86_64)
  • Version [e.g. 22] 1.43.5
@vasturiano
Copy link
Owner

@eunukasiko I don't believe the browser interprets a trackpad press + ctrl key as a right button click event. That's a translation that possibly happens elsewhere. Does the onNodeClick function get called instead? That's the expected behavior.

@eunukasiko
Copy link
Author

Yes, I ended up writing a special case for onNodeClick.

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