Enable virtualization for the block list on iOS #53265
Labels
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
[Type] Performance
Related to performance efforts
What problem does this address?
Following this comment, on iOS despite the use of
FlatList
component for rendering the block list, we are not benefitting from list virtualization due to nesting theFlatList
under a scroll view. Lack of virtualization implies a high device resource consumption, especially in long posts.What is your proposed solution?
Unify the
ScrollView
andFlatList
rendering into a singleFlatList
component.FlatList
.ScrollView
to theFlatList
.gutenberg/packages/components/src/mobile/keyboard-aware-flat-list/index.ios.js
Lines 146 to 158 in 5bf6aa0
The text was updated successfully, but these errors were encountered: