mew
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
8 deletions
-
packages/@core/ui-kit/shadcn-ui/src/components/context-menu/context-menu.vue
|
|
|
@ -67,14 +67,6 @@ function handleClick(menu: IContextMenuItem) { |
|
|
|
menu?.handler?.(props.handlerData); |
|
|
|
} |
|
|
|
|
|
|
|
function handleContextMenuCapture(e: MouseEvent) { |
|
|
|
const target = e.target as HTMLElement; |
|
|
|
|
|
|
|
if (target.closest(NATIVE_CONTEXT_SELECTORS)) { |
|
|
|
e.stopPropagation(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const triggerRef = ref<HTMLElement | null>(null); |
|
|
|
|
|
|
|
function onContextMenuCapture(e: MouseEvent) { |
|
|
|
|