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

[BUG] onOutsideClick doesn't get called when you right-click outside of the trigger with mouse position #70

Open
kyeo76 opened this issue May 13, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@kyeo76
Copy link

kyeo76 commented May 13, 2021

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/s/cool-gates-qcd5x?file=/src/App.js:0-66
  2. Right-click on all 3 triggers
  3. All 3 layers are visible

Expected behavior
Expected onOutsideClick to be called.

Screen Shot 2021-05-13 at 6 24 23 PM

@kyeo76 kyeo76 added the bug Something isn't working label May 13, 2021
@kyeo76
Copy link
Author

kyeo76 commented May 20, 2021

or maybe it's more semantically right to add onOutsideContextMenu option to useLayer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant