Fix drag and drop when switching views (#20143)
This commit is contained in:
parent
b6587488d4
commit
7e1fa0cf38
|
@ -83,7 +83,7 @@ export class HaSortable extends LitElement {
|
||||||
super.connectedCallback();
|
super.connectedCallback();
|
||||||
this._shouldBeDestroy = false;
|
this._shouldBeDestroy = false;
|
||||||
if (this.hasUpdated) {
|
if (this.hasUpdated) {
|
||||||
this.requestUpdate();
|
this._createSortable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue