@rivet-health/design-system 2.7.0 → 2.7.1

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.
@@ -757,6 +757,9 @@ class TooltipDirective {
757
757
  onMouseLeave() {
758
758
  this.initiateClose();
759
759
  }
760
+ ngOnDestroy() {
761
+ this.initiateClose();
762
+ }
760
763
  initiateClose() {
761
764
  this.closeTimeout = window.setTimeout(() => {
762
765
  this.tooltipRef?.destroy();