Skip to content

Commit 96e8e4b

Browse files
committed
fix(ios): eachChildAsync not working
1 parent 18a77f0 commit 96e8e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collectionview/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export class CollectionView extends CollectionViewBase {
205205

206206
async eachChildAsync(callback) {
207207
// used for css updates (like theme change)
208-
const children = Object.values(this._map);
208+
const children = [...this._map.values()];
209209
for (let index = 0; index < children.length; index++) {
210210
const view = children[index];
211211
if (view.parent instanceof CollectionView) {

0 commit comments

Comments
 (0)