Skip to content

Commit 74cee23

Browse files
committed
Fix tooltips closing when moving cursor from trigger to tooltip element
Refs: #7418
1 parent 1330565 commit 74cee23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/components/src/components/tooltip/component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export class KolTooltipWc implements TooltipAPI {
5555

5656
private showTooltipTimeout?: ReturnType<typeof setTimeout>;
5757
private showTooltipWithDelay = (): void => {
58+
clearTimeout(this.hideTooltipTimeout); // Cancel scheduled closings on re-enter
5859
clearTimeout(this.showTooltipTimeout);
5960
this.showTooltipTimeout = setTimeout(() => {
6061
this.showTooltip();

0 commit comments

Comments
 (0)