AOS version:
Browser: Mozillla Firefox
element should be animated by data-aos
but it just disappears
1.https://codepen.io/zhenya-pereverzeva/pen/eLrgzP
2.
3.
To use AOS features, you have to add and init it's resources first:
Stylesheet (should be put in <head>):
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
And Javascript to end of <body> contents:
````
````
I tested it with your Codepen, and initializing AOS solved your problem just fine.
I've done it so far,but still it just disappears
same problem here. aos is initialized but animation is not triggered.
The provided codepen works fine after adding CSS, JS and initializing AOS. Can you provide a complete codepen that you have problem with? If I can't reproduce the problem I won't be able to help.
Also make sure to use aos@next
I had the same problem and i figured it to such a point that i think it's because i've implemented a "hide the scollbar" function.
e.g. my animation showed up when i didnt have to scroll at all to trigger it, but not when it was at it's original position further down...
i don't know how to fix this though
It's important to change to aos@next. I used the CDN from the website, and it was giving me this problem.
Hello. Currently I am having the same issue here, in IE 11 and Firefox the triggered divs with data-aos="" just disappear. How can I solve this?
Thanks in advance.
Changing the source
For
https://unpkg.com/aos@next/dist/aos.js
Worked for me, thanks crossoveranx
the problem is the overflow property in any container tag and the important one is HTML and body you have to cancel it and fix your problem
Most helpful comment
It's important to change to aos@next. I used the CDN from the website, and it was giving me this problem.