Skip to content

Commit

Permalink
Merge pull request #13847 from SoyDiego/13828-fix-autohide-tooltip
Browse files Browse the repository at this point in the history
13828 fix autohide tooltip
  • Loading branch information
cetincakiroglu authored Oct 11, 2023
2 parents 0c70bf3 + eb20a32 commit 5eb8914
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/components/tooltip/tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,10 @@ export class Tooltip implements AfterViewInit, OnDestroy {
this.container.style.width = 'fit-content';
}

if (!this.isAutoHide()) {
if (this.isAutoHide()) {
this.container.style.pointerEvents = 'none';
} else {
this.container.style.pointerEvents = 'unset';
this.bindContainerMouseleaveListener();
}
}
Expand Down

0 comments on commit 5eb8914

Please sign in to comment.