import ScrollAnimation from 'react-animate-on-scroll'; <ScrollAnimation animateIn="fadeIn"> Some Text </ScrollAnimation> Properties: offset- default 150 The "viewport" is by default 150 pixels from the top and bottom of the screen. When part of an element is within the "viewport", animate...
ScrollAnimation.getVisibility (node_modules/react-animate-on-scroll/dist/scrollAnimation.min.js:127:50) at ScrollAnimation.handleScroll (node_modules/react-animate-on-scroll/dist/scrollAnimation.min.js:229:31) at ScrollAnimation.componentDidMount (node_modules/react-animate-on-scroll/dist/scroll...
The easy way to create CSS scroll animations that react to the position of your HTML element on screen. Animate on scroll (AOS) your CSS. - iDev-Games/Trig-JS