Skip to content

Wrong onEndReachedThreshold for ListView #488

Description

@seblau

The ListView component specifies an onEndReachedThreshold of 40 (see: https://github.com/shoutem/ui/blob/develop/components/ListView.js#L142) which is invalid since this value should be in the range from 0 to 1 (see https://reactnative.dev/docs/flatlist#onendreachedthreshold).

The value of 40 causes the onEndReached callback to be triggered indefinitely in a loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions