We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b6ac1 commit 1de7192Copy full SHA for 1de7192
src/components/ha-sidebar.ts
@@ -239,6 +239,18 @@ class HaSidebar extends SubscribeMixin(LitElement) {
239
];
240
}
241
242
+ public disconnectedCallback() {
243
+ super.disconnectedCallback();
244
+ // clear timeouts
245
+ clearTimeout(this._mouseLeaveTimeout);
246
+ clearTimeout(this._tooltipHideTimeout);
247
+ clearTimeout(this._touchendTimeout);
248
+ // set undefined values
249
+ this._mouseLeaveTimeout = undefined;
250
+ this._tooltipHideTimeout = undefined;
251
+ this._touchendTimeout = undefined;
252
+ }
253
+
254
protected render() {
255
if (!this.hass) {
256
return nothing;
0 commit comments