kitze / react-genie

A set of React components for animating elements as they scroll into the viewport
https://codesandbox.io/s/react-genie-example-8xfsc
MIT License
745 stars 20 forks source link

Allow RevealChildren to work in reverse #12

Closed kitze closed 4 years ago

kitze commented 4 years ago

If the last element is seen first, start the animation in another direction. Now the page is empty until the user scrolls to the element with index 0 which will trigger the animation for the other ones.