egidiusmengelberg / nuxt-aos

A Nuxt module that adds Animate On Scroll
https://www.npmjs.com/package/nuxt-aos
MIT License
65 stars 5 forks source link

twitches when loading DOMcontentLoaded ? #13

Closed champ7champ closed 5 months ago

champ7champ commented 8 months ago
image

When loading, it immediately appears, and then disappears and the animation begins. Next, if I give the opacity class-0, it works fine. Once in the config object does not work at all, it always works only once always

egidiusmengelberg commented 8 months ago

Do you have a minimal reproduction? It could be happening because of i18n, seeing that you use $t.

egidiusmengelberg commented 7 months ago

@champ7champ In v1.2.3 I initialise aos after the app is mounted. Do you still have this issue?

egidiusmengelberg commented 5 months ago

closing due to inactivity