tserkov / vue-scroll-reveal

A Vue directive to wrap @jlmake's excellent ScrollReveal library.
MIT License
163 stars 17 forks source link

Interval don't works with Nuxt #30

Closed MatteoGauthier closed 2 years ago

tserkov commented 5 years ago

https://github.com/tserkov/vue-scroll-reveal#nuxt

MatteoGauthier commented 5 years ago

@tserkov i saw but it don't works on top of v-for element

Lexpeartha commented 3 years ago

I am experiencing the same issue, and I am using static generation for website, with no server evolved. I still put ssr: false there, but it just works like regular reveal.

v-scroll-reveal='{ interval: 200 }'

Any idea how to fix this?

Haeri commented 3 years ago

Im using this as a workaround:

v-for="(el, index) in array"
:key="index"
v-scroll-reveal='{ delay: (index * 200) }'