Skip to content

Commit 0e976f8

Browse files
authored
fix: parent elements properly await for children upgrade (#645)
1 parent c2a3cd0 commit 0e976f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/base/src/UI5Element.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class UI5Element extends HTMLElement {
195195
this._state[propertyName].push(child);
196196
});
197197

198-
await allChildrenUpgraded;
198+
await Promise.all(allChildrenUpgraded);
199199
this._invalidate();
200200
}
201201

0 commit comments

Comments
 (0)