Skip to content

v-motion-slide-visible-once-right causes overflow on smaller devices #214

@hexadecimal233

Description

@hexadecimal233

System info

  • Operating System: Windows_NT
  • Node Version: v18.17.0
  • Nuxt Version: 3.12.3
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.7
  • Package Manager: npm@10.8.0
  • Builder: -
  • User Config: compatibilityDate, devtools, modules, css, app
  • Runtime Modules: @nuxtjs/tailwindcss@6.12.1, @vueuse/motion/nuxt@2.2.3, @nuxt/image@1.7.0
  • Build Modules: -

Reproduction

(part of my code)

    <div class="section-main">
      <div class="section-name">{{ name }}</div>
      <div v-motion-slide-visible-once-right class="section-content">
        <slot />
      </div>
    </div>

Describe the bug

I'm using v-motion-slide-visible-once-right for a right sliding in animation.
When I use a smaller screen in developer tools, It automatically expands the website until I set overflow: hidden for section-main

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions