Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: hover controls position (#7093)
Kilu.He5e581e912f02
diff --git a/frontend/appflowy_web_app/src/components/editor/components/table-container/TableContainer.tsx b/frontend/appflowy_web_app/src/components/editor/components/table-container/TableContainer.tsxindex 79f3e18627..2779e676db 100644--- a/frontend/appflowy_web_app/src/components/editor/components/table-container/TableContainer.tsx+++ b/frontend/appflowy_web_app/src/components/editor/components/table-container/TableContainer.tsx@@ -3,7 +3,7 @@ import { getScrollParent } from '@/components/global-comment/utils';import React, { useCallback, useEffect, useRef } from 'react';import { ReactEditor, useReadOnly, useSlateStatic } from 'slate-react';-function TableContainer({ blockId, readSummary, children, paddingLeft = 0 }: {+function TableContainer ({ blockId, readSummary, children, paddingLeft = 0 }: {blockId: string;readSummary?: boolean;children?: React.ReactNode;@@ -99,12 +99,12 @@ function TableContainer({ blockId, readSummary, children, paddingLeft = 0 }: {<divref={controlRef}style={{- left: (left - 64) + 'px',+ left: (offsetLeftRef.current - 64) + 'px',visibility: showControl ? 'visible' : 'hidden',zIndex: showControl ? 10 : -1,pointerEvents: showControl ? 'auto' : 'none',}}-+contentEditable={false}className={'absolute z-[10] w-[64px] top-2 block pr-1'}>