Closed e-younan closed 1 year ago
The internal scroll containers (i.e., ScrollView, FlatList, SectionList) have been modified to use the useAnimatedScrollHandler instead.
useAnimatedScrollHandler
The reason this change was made was because the previously-used hook useScrollViewOffset is only available on react-native-reanimated >= 2.11.0.
useScrollViewOffset
Tested on example application.
Description
The internal scroll containers (i.e., ScrollView, FlatList, SectionList) have been modified to use the
useAnimatedScrollHandler
instead.Motivation and Context
The reason this change was made was because the previously-used hook
useScrollViewOffset
is only available on react-native-reanimated >= 2.11.0.How Has This Been Tested?
Tested on example application.
Types of changes
Checklist: