@klippa/ngx-enhancy-forms 14.19.0 → 14.19.2
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.
|
@@ -2372,6 +2372,12 @@ class WithTooltipDirective {
|
|
|
2372
2372
|
if (!stringIsSetAndFilled(this.klpWithTooltip)) {
|
|
2373
2373
|
return;
|
|
2374
2374
|
}
|
|
2375
|
+
if (el.nativeElement.innerText.trim().length < 1) {
|
|
2376
|
+
return;
|
|
2377
|
+
}
|
|
2378
|
+
if (el.nativeElement.offsetWidth >= el.nativeElement.scrollWidth) {
|
|
2379
|
+
return;
|
|
2380
|
+
}
|
|
2375
2381
|
if (getComputedStyle(el.nativeElement).position === 'static') {
|
|
2376
2382
|
el.nativeElement.style.position = 'relative';
|
|
2377
2383
|
}
|