diff --git a/packages/editor-ui/src/components/Sticky.vue b/packages/editor-ui/src/components/Sticky.vue index 1042548f15298..65664239885a1 100644 --- a/packages/editor-ui/src/components/Sticky.vue +++ b/packages/editor-ui/src/components/Sticky.vue @@ -328,8 +328,10 @@ export default defineComponent({ } }, onContextMenu(e: MouseEvent): void { - if (this.node) { + if (this.node && !this.isActive) { this.contextMenu.open(e, { source: 'node-right-click', node: this.node }); + } else { + e.stopPropagation(); } }, },