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 0847deb commit 197e3caCopy full SHA for 197e3ca
src/components/ha-sidebar.ts
@@ -248,6 +248,18 @@ class HaSidebar extends SubscribeMixin(LitElement) {
248
];
249
}
250
251
+ public disconnectedCallback() {
252
+ super.disconnectedCallback();
253
+ // clear timeouts
254
+ clearTimeout(this._mouseLeaveTimeout);
255
+ clearTimeout(this._tooltipHideTimeout);
256
+ clearTimeout(this._touchendTimeout);
257
+ // set undefined values
258
+ this._mouseLeaveTimeout = undefined;
259
+ this._tooltipHideTimeout = undefined;
260
+ this._touchendTimeout = undefined;
261
+ }
262
+
263
protected render() {
264
if (!this.hass) {
265
return nothing;
0 commit comments