fix: the pendant popover is blocked by the container in kanban mode (#268)

This commit is contained in:
Qi 2022-08-16 17:46:53 +08:00 committed by GitHub
parent bd59871c22
commit b682e55596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ export const BlockPendantProvider = ({
<StyledPendantContainer ref={triggerRef}>
<PendantPopover
block={block}
container={triggerRef.current}
// container={triggerRef.current}
>
<StyledTriggerLine />
</PendantPopover>

View File

@ -117,7 +117,7 @@ export const PendantHistoryPanel = ({
/>
}
trigger="click"
container={historyPanelRef.current}
// container={historyPanelRef.current}
>
<PendantTag
style={{

View File

@ -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"