Skip to content

Incorrect item height when using horizontal scroll. #1575

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

Open
2 tasks done
herlihalim opened this issue Mar 20, 2025 · 0 comments
Open
2 tasks done

Incorrect item height when using horizontal scroll. #1575

herlihalim opened this issue Mar 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@herlihalim
Copy link

Current behavior

The height of item when in horizontal scroll seems to be the height of item at index 1.

Expected behavior

Height is dynamically determined based on content.

To Reproduce

https://github.com/herlihalim/FlashList-Horizontal-Size-Issue-Repro

Note: after you move data around in the array, ensuring reloading the app to refresh the height.

Simulator.Screen.Recording.-.iPhone.16.-.2025-03-20.at.11.54.46.mp4

Platform:

  • iOS
  • Android

Environment

FlashList 1.7.6
React Native 0.78.1

@herlihalim herlihalim added the bug Something isn't working label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant