igniteui-angular 21.2.14 → 21.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/igniteui-angular-directives.mjs +6 -1
- package/fesm2022/igniteui-angular-directives.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-core.mjs +18 -5
- package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-grid.mjs +18 -6
- package/fesm2022/igniteui-angular-grids-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs.map +1 -1
- package/package.json +1 -1
- package/types/igniteui-angular-grids-grid.d.ts +6 -2
|
@@ -8089,6 +8089,7 @@ function parseTriggers(triggers) {
|
|
|
8089
8089
|
return new Set((triggers ?? '').split(TooltipRegexes.triggers).filter((s) => s.trim()));
|
|
8090
8090
|
}
|
|
8091
8091
|
|
|
8092
|
+
const HOVER_SHOW_TRIGGERS = new Set(['mouseenter', 'mouseover', 'pointerenter', 'pointerover']);
|
|
8092
8093
|
/**
|
|
8093
8094
|
* **Ignite UI for Angular Tooltip Target** -
|
|
8094
8095
|
* [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/tooltip)
|
|
@@ -8555,8 +8556,12 @@ class IgxTooltipTargetDirective extends IgxToggleActionDirective {
|
|
|
8555
8556
|
this._evaluateStickyState();
|
|
8556
8557
|
this._pendingShowTrigger = triggerEvent?.type ?? null;
|
|
8557
8558
|
this.target.timeoutId = setTimeout(() => {
|
|
8558
|
-
|
|
8559
|
+
const isHoverTrigger = this._pendingShowTrigger && HOVER_SHOW_TRIGGERS.has(this._pendingShowTrigger);
|
|
8559
8560
|
this._pendingShowTrigger = null;
|
|
8561
|
+
this.target.timeoutId = null;
|
|
8562
|
+
if (isHoverTrigger && !this.nativeElement.matches(':hover')) {
|
|
8563
|
+
return;
|
|
8564
|
+
}
|
|
8560
8565
|
this.target.open(this._mergedOverlaySettings);
|
|
8561
8566
|
}, withDelay ? this.showDelay : 0);
|
|
8562
8567
|
}
|