Fix lovelace background, tweak headers (#15977)

This commit is contained in:
Bram Kragten
2023-03-30 16:10:43 +02:00
committed by GitHub
parent e52b2c49a6
commit ef10cc77f7
4 changed files with 58 additions and 37 deletions

View File

@@ -41,7 +41,9 @@ export class HaDialog extends DialogBase {
SUPPRESS_DEFAULT_PRESS_SELECTOR,
].join(", ");
this._updateScrolledAttribute();
this.contentElement?.addEventListener("scroll", this._onScroll);
this.contentElement?.addEventListener("scroll", this._onScroll, {
passive: true,
});
}
disconnectedCallback(): void {