@klippa/ngx-enhancy-forms 14.19.3 → 14.19.4

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.
@@ -2376,8 +2376,15 @@ class WithTooltipDirective {
2376
2376
  if (textToDisplay.length < 1) {
2377
2377
  return;
2378
2378
  }
2379
- if (el.nativeElement.offsetWidth >= el.nativeElement.scrollWidth) {
2380
- return;
2379
+ if (stringIsSetAndFilled(this.tooltipText)) {
2380
+ if (this.tooltipText === el.nativeElement.innerText) {
2381
+ return;
2382
+ }
2383
+ }
2384
+ else {
2385
+ if (el.nativeElement.offsetWidth >= el.nativeElement.scrollWidth) {
2386
+ return;
2387
+ }
2381
2388
  }
2382
2389
  if (getComputedStyle(el.nativeElement).position === 'static') {
2383
2390
  el.nativeElement.style.position = 'relative';