Skip to content

Commit

Permalink
feat: up openDelay to 1 sec, in accordance with desing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisVershkov committed Dec 4, 2023
1 parent cee757a commit e004077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const Tooltip = (props: TooltipProps) => {

function useTooltipVisible(
anchor: HTMLElement | null,
{openDelay = 250, closeDelay}: TooltipDelayProps,
{openDelay = 1000, closeDelay}: TooltipDelayProps,
) {
const [tooltipVisible, showTooltip, hideTooltip] = useBoolean(false);
const timeoutRef = React.useRef<number>();
Expand Down

0 comments on commit e004077

Please sign in to comment.