fix: the pendant popover is blocked by the container in kanban mode
This commit is contained in:
@@ -31,7 +31,7 @@ export const BlockPendantProvider = ({
|
|||||||
<StyledPendantContainer ref={triggerRef}>
|
<StyledPendantContainer ref={triggerRef}>
|
||||||
<PendantPopover
|
<PendantPopover
|
||||||
block={block}
|
block={block}
|
||||||
container={triggerRef.current}
|
// container={triggerRef.current}
|
||||||
>
|
>
|
||||||
<StyledTriggerLine />
|
<StyledTriggerLine />
|
||||||
</PendantPopover>
|
</PendantPopover>
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ export const PendantHistoryPanel = ({
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
trigger="click"
|
trigger="click"
|
||||||
container={historyPanelRef.current}
|
// container={historyPanelRef.current}
|
||||||
>
|
>
|
||||||
<PendantTag
|
<PendantTag
|
||||||
style={{
|
style={{
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export const PendantRender = ({ block }: { block: AsyncBlock }) => {
|
|||||||
popperHandlerRef={ref => {
|
popperHandlerRef={ref => {
|
||||||
popoverHandlerRef.current[id] = ref;
|
popoverHandlerRef.current[id] = ref;
|
||||||
}}
|
}}
|
||||||
container={blockRenderContainerRef.current}
|
// container={blockRenderContainerRef.current}
|
||||||
key={id}
|
key={id}
|
||||||
trigger="click"
|
trigger="click"
|
||||||
placement="bottom-start"
|
placement="bottom-start"
|
||||||
|
|||||||
Reference in New Issue
Block a user