fix(ui): fix IAIDraggable/IAIDroppable absolute positioning

This commit is contained in:
psychedelicious
2023-07-09 20:24:50 +10:00
parent cad358dc9a
commit 5e1ed63076
2 changed files with 4 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ const IAIDraggable = (props: IAIDraggableProps) => {
position="absolute"
w="full"
h="full"
top={0}
insetInlineStart={0}
{...attributes}
{...listeners}
/>

View File

@@ -29,6 +29,8 @@ const IAIDroppable = (props: IAIDroppableProps) => {
<Box
ref={setNodeRef}
position="absolute"
top={0}
insetInlineStart={0}
w="full"
h="full"
pointerEvents="none"