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

Fast right click between two or more buttons Fix #696

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fast right click between two or more buttons Fix #696

wants to merge 1 commit into from

Conversation

feralonsomaccari
Copy link

@feralonsomaccari feralonsomaccari commented Sep 13, 2019

If you click too fast beetwen two or more buttons, the layer on top of everything stay bugged and force to reload the page.

This is the element that get bug
<div id="context-menu-layer" style="height: 657px; width: 796px; display: block; position: fixed; z-index: 1; top: 0px; left: 0px; opacity: 0; background-color: rgb(0, 0, 0);"></div>

I created a new function and calling it solve the problem removing the layer
This work for me in my proyect and I want to share the fix.

To reproduce the bug you can try fast right clicking multiple times here and see the problem
https://swisnl.github.io/jQuery-contextMenu/demo/on-dom-element.html

@bbrala
Copy link
Member

bbrala commented Sep 11, 2020

What browser is this, i cannot reproduce in firefox?

@06Games
Copy link

06Games commented Mar 10, 2021

I can confirm that this bug still happens. I use Firefox 86 and by right-clicking everywhere, the context-menu-layer div remains activated which then prevents any new interaction.

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

Successfully merging this pull request may close these issues.

None yet

3 participants