feat(ui): tweak board tooltip behaviour

This commit is contained in:
psychedelicious 2024-07-10 18:45:55 +10:00 committed by Kent Keirsey
parent 38622b0d91
commit 146e3a3377
2 changed files with 8 additions and 1 deletions

View File

@ -118,6 +118,8 @@ const GalleryBoard = ({ board, isSelected, setBoardToDelete }: GalleryBoardProps
<Tooltip
label={<BoardTotalsTooltip board_id={board.board_id} isArchived={Boolean(board.archived)} />}
openDelay={1000}
placement="left"
closeOnScroll
>
<Flex
position="relative"

View File

@ -59,7 +59,12 @@ const NoBoardBoard = memo(({ isSelected }: Props) => {
return (
<NoBoardBoardContextMenu>
{(ref) => (
<Tooltip label={<BoardTotalsTooltip board_id="none" isArchived={false} />} openDelay={1000}>
<Tooltip
label={<BoardTotalsTooltip board_id="none" isArchived={false} />}
openDelay={1000}
placement="left"
closeOnScroll
>
<Flex
position="relative"
ref={ref}