mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-05-01 23:16:31 +02:00
Merge branch 'main' into add_telegram
This commit is contained in:
@@ -256,10 +256,11 @@ export const Tooltip: React.FC<TooltipProps> = ({
|
|||||||
(children.props as any)?.onBlur?.(e);
|
(children.props as any)?.onBlur?.(e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
clearTimers();
|
||||||
if (!isPinned) setOpen(false);
|
if (!isPinned) setOpen(false);
|
||||||
(children.props as any)?.onBlur?.(e);
|
(children.props as any)?.onBlur?.(e);
|
||||||
},
|
},
|
||||||
[isPinned, setOpen, children.props]
|
[isPinned, setOpen, children.props, clearTimers]
|
||||||
);
|
);
|
||||||
|
|
||||||
const handleKeyDown = useCallback((e: React.KeyboardEvent) => {
|
const handleKeyDown = useCallback((e: React.KeyboardEvent) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user