From 859f16740bd76ae72f9c90b8a913cb0a11053a78 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sat, 28 Mar 2026 19:19:00 +0000 Subject: [PATCH] tooltip portal --- .../editor/components/table/table-menu.tsx | 54 +++++++++++++++---- 1 file changed, 43 insertions(+), 11 deletions(-) diff --git a/apps/client/src/features/editor/components/table/table-menu.tsx b/apps/client/src/features/editor/components/table/table-menu.tsx index 66fe4d7b..4adafb20 100644 --- a/apps/client/src/features/editor/components/table/table-menu.tsx +++ b/apps/client/src/features/editor/components/table/table-menu.tsx @@ -34,7 +34,7 @@ export const TableMenu = React.memo( if (isTextSelected(editor)) return false; return editor.isActive("table") && !isCellSelection(state.selection); }, - [editor] + [editor], ); const getReferencedVirtualElement = useCallback(() => { @@ -121,7 +121,11 @@ export const TableMenu = React.memo( shouldShow={shouldShow} >
- + - + - + - + - + - + - + - + - + ); - } + }, ); export default TableMenu;