Skip to content

Commit d8a2699

Browse files
committed
fix(collectionview): ios fix for cells not resizing after system font change
1 parent 23cbb2c commit d8a2699

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/collectionview/index.ios.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,12 @@ export class CollectionView extends CollectionViewBase {
223223
}
224224
}
225225
});
226+
// we need to call on measure cells too
227+
// otherwise they would not get notified of some css changes
228+
// like fontScale change
229+
this._measureCellMap?.forEach((view) => {
230+
callback(view.view);
231+
});
226232
}
227233

228234
async eachChildAsync(callback) {

0 commit comments

Comments
 (0)