We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 594420b + 79157d6 commit 3f0c6d2Copy full SHA for 3f0c6d2
src/ContextMenu.js
@@ -79,7 +79,7 @@ export default class ContextMenu extends AbstractMenu {
79
: this.getMenuPosition(x, y);
80
81
wrapper(() => {
82
- if (!this.menu) return;
+ if (!this.menu || !this.state.isVisible) return;
83
this.menu.style.top = `${top}px`;
84
this.menu.style.left = `${left}px`;
85
this.menu.style.opacity = 1;
0 commit comments