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

How do I close Modal on right click in overlay? #837

Open
CharlotteArai opened this issue Nov 15, 2020 · 6 comments
Open

How do I close Modal on right click in overlay? #837

CharlotteArai opened this issue Nov 15, 2020 · 6 comments

Comments

@CharlotteArai
Copy link

Summary:

I wish to close the modal on secondary click (right mouse click).
This works in your codepen demo for v.1.6.2: https://codepen.io/claydiffrient/pen/ZBmyKz?editors=1111
But not in my own demo with v3.3.2, see here: https://codepen.io/CharlotteA/pen/PozLwNw?editors=1111

Am I missing a new prop to handle this?

Expected behavior:

Close on right-click:
https://codepen.io/claydiffrient/pen/ZBmyKz?editors=1111

Link to example of issue:

Not closing on right-click:
https://codepen.io/CharlotteA/pen/PozLwNw?editors=1111

Any help very much appreciated!  🤓

@diasbruno
Copy link
Collaborator

Hi, @CharlotteArai. Right click and context menu are not implemented yet. 😞

@pawan43563
Copy link

I would love to contribute.

@diasbruno
Copy link
Collaborator

@pawan43563 All yours, 🤠! Let me know if you need assistance with this.

@ZainGulbaz
Copy link

Is this issue still present? I would love to contribute.

@diasbruno
Copy link
Collaborator

@ZainGulbaz There is #901, but it's not finished. You can open a new one and we close it. Let me know and I'll assign you.

@ZainGulbaz
Copy link

@diasbruno Yes please assign me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants