mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1bc06f18c6
Summary: This diff forces a remeasure of the children of VirtualizedLists everytime the VirtualizedList is measured. The goal is to ensure that nested VirtualizedList has the correct "scroll information" all the time, scroll information information is used by ViewabilityHelper.computeViewableItems method to determine if Items of the list are visible to the user. This new code is controlled by the MC: rn_core:enable_virtualizedlist_remeasure_children_if_needed. changelog: [internal] internal // I used an internal changelog because this is under a MC Reviewed By: lunaleaps Differential Revision: D27003249 fbshipit-source-id: f9452ceb27683b0f595dd4bffdcced0ecf6bb0b5