-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VirtualList debug mode error #24053
Labels
Comments
Hi there, thanks for reporting this issue! I had a quick look and I found the problem in the VirtualizedList. Once #24058 is merged, this should be fixed. |
facebook-github-bot
pushed a commit
that referenced
this issue
Mar 20, 2019
…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
kelset
pushed a commit
that referenced
this issue
Mar 29, 2019
…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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
🐛 Bug Report
Get errors when setting
FlatList
-debug={true}
To Reproduce
Expected Behavior
debug mode work fine
Code Example
Edit the App.js:
Environment
The text was updated successfully, but these errors were encountered: