Skip to content

Commit 3f0c6d2

Browse files
authored
Merge branch 'master' into bugfix/iterate-over-selectable-elements
2 parents 594420b + 79157d6 commit 3f0c6d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ContextMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default class ContextMenu extends AbstractMenu {
7979
: this.getMenuPosition(x, y);
8080

8181
wrapper(() => {
82-
if (!this.menu) return;
82+
if (!this.menu || !this.state.isVisible) return;
8383
this.menu.style.top = `${top}px`;
8484
this.menu.style.left = `${left}px`;
8585
this.menu.style.opacity = 1;

0 commit comments

Comments
 (0)