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

Expose scroll animation value #223

Open
loveaurell opened this issue Nov 26, 2020 · 2 comments
Open

Expose scroll animation value #223

loveaurell opened this issue Nov 26, 2020 · 2 comments

Comments

@loveaurell
Copy link

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
Copy link
Author

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.

@pke
Copy link

pke commented Mar 22, 2021

That would be a really useful feature

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

2 participants