Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #24053 prevent division by zero error in VirtualizedList debug ov…
…erlay (#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: #24058 Differential Revision: D14538317 Pulled By: cpojer fbshipit-source-id: 7b17bf51c388561c517bab1f775a31200abdc5a9
- Loading branch information