Skip to content

Commit c05f530

Browse files
committed
fix: Fix build because of tooltip-target
1 parent 958abee commit c05f530

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/igniteui-angular/directives/src/directives/tooltip/tooltip-target.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ export class IgxTooltipTargetDirective extends IgxToggleActionDirective implemen
567567
this._pendingShowTrigger = triggerEvent?.type ?? null;
568568

569569
this.target.timeoutId = setTimeout(() => {
570-
const isHoverTrigger = HOVER_SHOW_TRIGGERS.has(this._pendingShowTrigger);
570+
const isHoverTrigger = this._pendingShowTrigger && HOVER_SHOW_TRIGGERS.has(this._pendingShowTrigger);
571571
this._pendingShowTrigger = null;
572572
this.target.timeoutId = null;
573573

0 commit comments

Comments
 (0)