sal
sal copied to clipboard
Animations already ran on page load
Hi. When I load my page, the first few elements already have their animations ran without scrolling. I guess this is because the elements haven't landed in their final positions on the page yet.
I've tried this but it doesn't fix the issue:
window.addEventListener('load', () => { this.sal.reset(); })
I've also tried adding the function call into a timeout but to no avail. Any help would be appreciated!