Skip to content

Incorrect item height when using horizontal scroll. #1575

Open
@herlihalim

Description

@herlihalim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions