react-native-app-intro-slider icon indicating copy to clipboard operation
react-native-app-intro-slider copied to clipboard

Expose scroll animation value

Open loveaurell opened this issue 3 years ago • 2 comments

It would be useful to be able to get the animated scroll value. You could implement all sorts of parallax animations as well as the liquid dot animations requested here: #143 . You also would need to use an Animated.Flatlist internally instead of Flatlist. Maybe a prop "useAnimatedFlatlist" could control that?

loveaurell avatar Nov 26 '20 10:11 loveaurell

renderItem could receive a param animatedValue that represents an animation from -1 to 1. -1 could represent the previous view, 0 the current and 1 the next.

loveaurell avatar Nov 27 '20 06:11 loveaurell

That would be a really useful feature

pke avatar Mar 22 '21 14:03 pke