n4kz / react-native-pages

Easy to use page view component
Other
376 stars 82 forks source link

Doesn't work with Reanimated #45

Open geo-vi opened 4 years ago

geo-vi commented 4 years ago

I've got a container of and stack inside views and so on.., I tried plugging it with Pages and the only part that appears is the indicator (2 dots for 2 views) I don't know where it overlaps however my clue is to it overrides onScroll function and something goes wrong there..

(For code reference) `<Animated.ScrollView onScroll={onScroll({ y })} showsVerticalScrollIndicator={false} scrollEventThrottle={1}

...

</Animated.ScrollView> `

If any more info is required, I can provide. Nice plugin nevertheless

geo-vi commented 4 years ago

UPDATE: Issue isn't only with Animated.ScrollView but ScrollView in general