sal icon indicating copy to clipboard operation
sal copied to clipboard

Animations already ran on page load

Open sam98brown opened this issue 3 years ago • 0 comments

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!

sam98brown avatar Nov 30 '21 17:11 sam98brown