Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
YoranRoels opened this issue Sep 6, 2021 · 0 comments
Open

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

YoranRoels opened this issue Sep 6, 2021 · 0 comments

Comments

@YoranRoels
Copy link

YoranRoels commented Sep 6, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant