Fix issue causing carousel to not correctly scroll.
This commit is contained in:
1 parent
b0a8ad3e5f
commit
cf8935da73
3 files changed
+7
-6
No files matched your search
@@ -60,6 +60,7 @@ export class FrigateCardCarousel extends LitElement {
|
||||
// plugins (which may have registered event handlers) to also be destroyed.
|
||||
// The carousel will automatically reconstruct if the component is re-rendered.
|
||||
this._carousel?.destroy();
|
||||
this._carousel = null;
|
||||
super.disconnectedCallback();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user