Open harrymerci opened 6 years ago
:
Is this the correct way to this?
Viewing your site it works fine in both normal / incognito. Are you still experiencing issues?
There's no cache here @harrymerci It looks like AOS is recalculating position of its' elements too early before your page repaints all elements. You might want to add extra resize event listener with bigger value on debounce. The original code that handles this scenario can be found here: https://github.com/michalsnik/aos/blob/next/src/js/aos.js#L193
I don't understand, sorry.
The animation of elements when scrolling doesn't happen if re-visit the same page.
Can you explain what I need to do? Thanks
You can try to add:
window.addEventListener('load', AOS.refresh);
Also you don't need the refreshHard
.
I am facing the same issue. Did we find fix for this? Above doesn't seems to be working. Please assist me with this.
This is:
Specifications
Expected Behavior
Animation to work
Actual Behavior
The animation works in Incognito, but not normal browser. Why is this?
Steps to Reproduce the Problem
http://en.wearemerci.com
I have this script added in