There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: the pendant popover is blocked by the container in kanban mode (#268)
Qib682e55596a5
diff --git a/libs/components/editor-core/src/block-pendant/BlockPendantProvider.tsx b/libs/components/editor-core/src/block-pendant/BlockPendantProvider.tsxindex 955cbc5b9f..6d099d8ae4 100644--- a/libs/components/editor-core/src/block-pendant/BlockPendantProvider.tsx+++ b/libs/components/editor-core/src/block-pendant/BlockPendantProvider.tsx@@ -31,7 +31,7 @@ export const BlockPendantProvider = ({<StyledPendantContainer ref={triggerRef}><PendantPopoverblock={block}- container={triggerRef.current}+ // container={triggerRef.current}><StyledTriggerLine /></PendantPopover>diff --git a/libs/components/editor-core/src/block-pendant/pendant-history-panel/PendantHistoryPanel.tsx b/libs/components/editor-core/src/block-pendant/pendant-history-panel/PendantHistoryPanel.tsxindex 3efc36721f..d66aa0a706 100644--- a/libs/components/editor-core/src/block-pendant/pendant-history-panel/PendantHistoryPanel.tsx+++ b/libs/components/editor-core/src/block-pendant/pendant-history-panel/PendantHistoryPanel.tsx@@ -117,7 +117,7 @@ export const PendantHistoryPanel = ({/>}trigger="click"- container={historyPanelRef.current}+ // container={historyPanelRef.current}><PendantTagstyle={{diff --git a/libs/components/editor-core/src/block-pendant/pendant-render/PandentRender.tsx b/libs/components/editor-core/src/block-pendant/pendant-render/PandentRender.tsxindex 7b3edd2c3f..6589c61855 100644--- a/libs/components/editor-core/src/block-pendant/pendant-render/PandentRender.tsx+++ b/libs/components/editor-core/src/block-pendant/pendant-render/PandentRender.tsx@@ -59,7 +59,7 @@ export const PendantRender = ({ block }: { block: AsyncBlock }) => {popperHandlerRef={ref => {popoverHandlerRef.current[id] = ref;}}- container={blockRenderContainerRef.current}+ // container={blockRenderContainerRef.current}key={id}trigger="click"placement="bottom-start"