Skip to content

'onScroll' not usable when 'useNativeDriver' is 'true'. #111

@YoranRoels

Description

@YoranRoels

I recently tried making the change to 'useNativeDriver' for performance reasons.

However, I use 'onScroll' to check when the end of the ScrollView has been reached (I need to do this here since our UI requires a FlatList as a child of this component so I need this component to handle the position to help pass that to the FlatList).

I've looked through the code and it seems like 'useNativeDriver' makes it so that there is no way to check the native scroll event.

Am I missing something or is it currently not possible to check the ScrollView's native event with 'useNativeDriver' enabled?

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