You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[fabric] Disable view flattening in VirtualizedList cells
Summary:
Scroll views set up with an inverted vertical axis can't support view flattening due to the flattening not taking the axis inversion in consideration while repositioning the views.
This diff disables view flattening on the cells of the virtualized list so that the layout would be correct in inverted scroll views when using Fabric.
The change is not being applied to ScrollView directly because we can safely assume that vertical axis inversion will only be enabled on VirtualizedList/FlatList.
Test Plan:
Run Zeratul with Fabric and check that the vertical order of grouped bubble messages is correct.
| Before | After |
|--|
| {F1136386200} | {F1136386364} |
Reviewers: shawndempsey, #rn-desktop
Reviewed By: shawndempsey
Differential Revision: https://phabricator.intern.facebook.com/D50846483
Tasks: T167539420
0 commit comments