Make sure all consumers of the tooltip mixin clean up when unmounted.
This commit is contained in:
@@ -61,11 +61,6 @@ class TpTooltipWrapper extends Tooltip(LitElement) {
|
||||
return true;
|
||||
}
|
||||
|
||||
disconnectedCallback() {
|
||||
super.disconnectedCallback();
|
||||
this._hideTooltip();
|
||||
}
|
||||
|
||||
_setTooltipText(text, disabled) {
|
||||
this.tooltip = disabled ? '' : text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user