Files
react-native/Libraries
Bartol KaruzaandLorenzo Sciandra d7e7b3ef50 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-29 15:14:45 +00:00
..
2019-02-12 07:38:42 -08:00
2019-02-04 17:46:56 -08:00
2018-12-11 20:01:00 -08:00
2019-03-25 22:22:14 +01:00
2019-02-01 09:35:42 -08:00
2019-01-17 02:41:59 -08:00
2019-01-28 03:57:42 -08:00
2019-02-11 16:50:40 -08:00
2018-10-31 01:37:26 -07:00
2019-02-04 17:46:56 -08:00
2018-09-27 14:18:31 -07:00
2019-02-11 09:06:43 -08:00
2018-11-26 06:28:24 -08:00