Skip to content

Horizontal List (alignItemsAtEnd={true} & maintainScrollAtEnd={true}) onStartReached Does Not Always Trigger #258

@hirvesh

Description

@hirvesh

Hello @jmeistrich - I am testing out the horizontal list (alignItemsAtEnd={true} & maintainScrollAtEnd={true}) and I've noticed a weird issue where somehow if you scroll to the start of the list fast enough, it will not not trigger the onStartReached function - I have to scroll to the right and back to the left for it to re-trigger the function. See video below:

            data={dates}
            horizontal
            renderItem={renderItem}
            keyExtractor={(item) => item.toISOString()}
            alignItemsAtEnd={true}
            maintainScrollAtEnd={true}
            showsHorizontalScrollIndicator={false}
            onStartReached={loadPreviousWeek}
            onStartReachedThreshold={0.1}
screen-20250610-082333.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions