Files
react-native/Libraries
Bartol Karuza 02e8e531dd Fix #24053 prevent division by zero error in VirtualizedList debug overlay (#24058)
Summary:
This PR fixes the case where the content a VirtualizedList loads with a contentLength of 0,  causing a crash in the `renderDebugOverlay` function. The result of that crash is a red screen when turning on debug on FlatList and other VirtualizedList components as described in #24053.

[LIST] [FIX] - Fix VirtualizedList debug mode crash
Pull Request resolved: https://github.com/facebook/react-native/pull/24058

Differential Revision: D14538317

Pulled By: cpojer

fbshipit-source-id: 7b17bf51c388561c517bab1f775a31200abdc5a9
2019-03-20 01:48:25 -07:00
..
2019-02-28 09:46:05 -08:00
2019-03-14 07:00:27 -07:00
2018-12-11 20:01:00 -08:00
2019-03-14 07:00:27 -07:00
2019-01-17 02:41:59 -08:00
2018-10-31 01:37:26 -07:00
2019-03-19 10:24:52 -07:00
2019-03-06 14:57:30 -08:00
2019-03-14 07:00:27 -07:00
2019-03-14 07:00:27 -07:00
2019-03-06 14:57:30 -08:00