Skip to content

Aggressive patchFlatListProps #12

@yangm97

Description

@yangm97

When props.refreshing is undefined refreshControl shouldn't be be injected.

Right now patchFlatListProps changes the behavior of FlatLists which aren't supposed to have a refreshControl. It also causes some type warnings to be thrown in development.

https://snack.expo.dev/wcIw8L47u

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions