Skip to content

Conversation

@romanlitvin
Copy link

Hi there
We've received an unhanded exception while using https://github.com/shopify/flash-list

This PR aims to fix the unhandled exception and add a type guard to prevent future such issues in a parent library

There're no repro steps, because it's just a single log in Sentry, but the applied fix is small and makes sense, to access layout only when it's true, instead of access it's properties before the check is performed

Attaching a screenshot of the error as a proof:
Screenshot 2026-01-16 at 10 42 22

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.

1 participant