mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 00:41:50 +03:00
fix: the pendant popover is blocked by the container in kanban mode
This commit is contained in:
parent
13deca1ef6
commit
aa877b6491
@ -31,7 +31,7 @@ export const BlockPendantProvider = ({
|
||||
<StyledPendantContainer ref={triggerRef}>
|
||||
<PendantPopover
|
||||
block={block}
|
||||
container={triggerRef.current}
|
||||
// container={triggerRef.current}
|
||||
>
|
||||
<StyledTriggerLine />
|
||||
</PendantPopover>
|
||||
|
@ -117,7 +117,7 @@ export const PendantHistoryPanel = ({
|
||||
/>
|
||||
}
|
||||
trigger="click"
|
||||
container={historyPanelRef.current}
|
||||
// container={historyPanelRef.current}
|
||||
>
|
||||
<PendantTag
|
||||
style={{
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user