Skip to content

NestableScrollContainer missing "onScroll" prop #464

@karlkristopher

Description

@karlkristopher

Currently the project readme states:

NestableScrollContainer extends the ScrollView from react-native-gesture-handler, and NestableDraggableFlatList extends DraggableFlatList, so all available props may be passed into both of them.

However, the current implementation of NestableScrollContainer is overwriting the onScroll prop.

The DraggableFlatList uses a onScrollOffsetChange as a stand-in for onScroll, and I was hoping we could have a similar prop for NestableScrollContainer.

I went ahead and created a pull request for the change: #459.

Open to feedback 🙂 And thanks for the library!

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