awesome-reveal / react-awesome-reveal

React components to add reveal animations using the Intersection Observer API and CSS Animations.
https://react-awesome-reveal.morello.dev
MIT License
1.15k stars 43 forks source link

Add forever prop #60

Open TamoshaytisV opened 3 years ago

TamoshaytisV commented 3 years ago

Is it possible to support forever prop like described here https://www.react-reveal.com/docs/props/ ? I think it would be nice to control animation repeat until user takes any action

morellodev commented 3 years ago

Hi @TamoshaytisV, thank you for this idea 💡.

React Awesome Reveal was born to efficiently handle animations on components entering and exiting the viewport, so it has a narrower scope than React Reveal - it does less but better 😉

I will eventually add a similar feature in a future release - in the meantime, feel free to submit PRs!