Skip to content
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

Rendersize warning will not fire during active resizing #1092

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

naqvitalha
Copy link
Collaborator

@naqvitalha naqvitalha commented Mar 14, 2024

Description

FlashList throws a warning if it mounts with very small height/width. This is useful when there is an error in parent layout however, some components might be actively resizing and this warning can still show up even when there's no real harm done by the resize. With this change, we only show the warning when the list has settled.

Also, disabled a broken test which will be enabled later.

Reviewers’ hat-rack 🎩

  • N/A

Screenshots or videos (if needed)

Checklist

@naqvitalha naqvitalha merged commit c2b747f into main Mar 15, 2024
12 checks passed
@naqvitalha naqvitalha deleted the fix-render-size-warning branch March 15, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants