dbramwell / react-animate-on-scroll

React component to provide animations when the user scrolls
618 stars 72 forks source link

Animations not working #60

Open endrits079 opened 4 years ago

endrits079 commented 4 years ago

import ScrollAnimation from "react-animate-on-scroll"; import "animate.css/animate.min.css"

The element is initially invisible as expected but then when it gets in viewport it appears instantly no animation happens tried with different durations

RandySiren commented 4 years ago

The solution currently can be found here:

https://github.com/dbramwell/react-animate-on-scroll/issues/55#issuecomment-660855447

kinjankoradiya commented 4 years ago

please import compat css instead of min import "animate.css/animate.compat.css";

yansusanto commented 4 years ago

+1 for import 'animate.css/animate.compat.css';

dbramwell commented 3 years ago

Edit: The comment I was replying to was removed 4 mins after I posted this response

One aspect of open source with a lot of smaller libraries is that people are doing it as a hobby in their spare time. They don't work for you, they don't owe you anything and they are not mandated to keep updating things that they put online.

Another aspect of open source libraries is that the community can help to maintain them by fixing bugs, coding improvements, updating documentation and raising pull requests...

I'm sure there are plenty of alternatives to this library but I'm not going to find them for you