This commit is contained in:
Marta Kowalska
2025-10-28 09:56:45 +00:00
parent 41cf34bb8f
commit 934520a631
6 changed files with 9 additions and 6 deletions
+2
View File
@@ -29,6 +29,7 @@ const ContextMenu = forwardRef(function ContextMenu(
at = 'point',
children,
onClick,
css
},
ref,
) {
@@ -161,6 +162,7 @@ const ContextMenu = forwardRef(function ContextMenu(
onClick={menuAction}
at={at}
ref={menuRef}
css={css}
/>
<span onContextMenu={onContextMenu} data-menu-ignore="true">
{typeof children === 'function' ? children() : children}