Make sure all consumers of the tooltip mixin clean up when unmounted.

This commit is contained in:
pk
2026-08-26 15:33:14 +02:00
parent 7f6b03d602
commit 9a0660767c
3 changed files with 8 additions and 6 deletions
-5
View File
@@ -61,11 +61,6 @@ class TpTooltipWrapper extends Tooltip(LitElement) {
return true;
}
disconnectedCallback() {
super.disconnectedCallback();
this._hideTooltip();
}
_setTooltipText(text, disabled) {
this.tooltip = disabled ? '' : text;
}