@klippa/ngx-enhancy-forms 20.0.11 → 20.0.12

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.
@@ -2946,7 +2946,7 @@ class WithTooltipDirective {
2946
2946
  this.hookDiv = document.createElement('div');
2947
2947
  const top = el.nativeElement.getBoundingClientRect().top;
2948
2948
  const left = el.nativeElement.getBoundingClientRect().left;
2949
- el.nativeElement.prepend(this.hookDiv);
2949
+ document.body.appendChild(this.hookDiv);
2950
2950
  this.div = document.createElement('div');
2951
2951
  this.div.style.zIndex = `${zIndexStart + 2}`;
2952
2952
  this.div.style.color = `${colors[this.klpWithTooltip].noAlpha}`;
@@ -3055,7 +3055,7 @@ class WithTooltipDirective {
3055
3055
  }
3056
3056
  catch (ex) { }
3057
3057
  try {
3058
- el.nativeElement.removeChild(this.hookDiv);
3058
+ document.body.removeChild(this.hookDiv);
3059
3059
  }
3060
3060
  catch (ex) { }
3061
3061
  });