Skip to content

Fixes Issue with flatlist #53298

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

Closed
wants to merge 4 commits into from
Closed

Conversation

riteshshukla04
Copy link
Contributor

@riteshshukla04 riteshshukla04 commented Aug 15, 2025

Summary:

Fixes #53258

On initial stage when data is empty until useEffect runs but sticky header is still being passed. This should fix it

Changelog:

[ANDROID][FIXED] - Fix crash on Android when passing sticky header with empty data

Test Plan:

image

Tested on RN tester

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 15, 2025
@react-native-bot
Copy link
Collaborator

react-native-bot commented Aug 15, 2025


Warnings
⚠️ ❗ JavaScript API change detected - This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API. Please include a clear changelog message. This change will be subject to extra review.

This change was flagged as: BREAKING

Generated by 🚫 dangerJS against c2f812f

@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Aug 15, 2025
@riteshshukla04
Copy link
Contributor Author

This isnt breaking change . No change in ReactNativeApi.d.ts . Verified with yarn build-types

@riteshshukla04
Copy link
Contributor Author

This is causing an issue with flatlist. I will close this for now. Will fix and reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FlatList with useState and stickyHeaderIndices is crashing on Android but working fine on IOS
3 participants