vueuse / motion

🤹 Vue Composables putting your components in motion

Home Page:https://motion.vueuse.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Scaalees opened this issue · comments

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
  },
}"