Fix thread display behavior

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-10-04 00:56:20 +02:00
parent 8a99d8033c
commit 7685a1e087

View file

@ -406,7 +406,7 @@ const Thread: React.FC<IThread> = ({
'h-full': isModal,
})
}
parentRef={node}
{...(isModal ? { parentRef: node } : undefined)}
>
{children}
</ScrollableList>