aos icon indicating copy to clipboard operation
aos copied to clipboard

Transitions start happening immediately after console is brought up

Open chanrt opened this issue 4 years ago • 1 comments

On my website: https://visualize-it.github.io/, I have implemented AOS transitions almost everywhere.

The transitions are not seen immediately after the page loads. They only happen after some time (10 - 15 seconds)

However I noticed this peculiar bug wherein if you bring up the console on firefox (by pressing Ctrl-Shift-K) immediately after the page loads, transitions start taking place all of a sudden and there is no waiting period involved

Why does this happen?

chanrt avatar Nov 09 '21 15:11 chanrt

I think you need run AOS init after DOMContentLoaded, and div.container is displayed

Air-Sidney avatar Nov 09 '21 15:11 Air-Sidney