vueuse / motion

๐Ÿคน Vue Composables putting your components in motion
https://motion.vueuse.org
MIT License
2.27k stars 79 forks source link

visible-once doesn't work but visibleOnce does (Nuxt 3) #108

Closed Scaalees closed 7 months ago

Scaalees commented 1 year ago

Just been playing with 2.0.0-beta-27 in Nuxt 3.

This works โœ…

v-motion
:initial="{
  opacity: 0,
  y: 100,
}"
:visibleOnce="{
  opacity: 1,
  y: 0,
  transition: {
    delay: 200
  },
}"

This doesn't โŒ

v-motion
:initial="{
  opacity: 0,
  y: 100,
}"
:visible-once="{
  opacity: 1,
  y: 0,
  transition: {
    delay: 200
  },
}"