Skip to content

Drawer not closing by drag on mobile #5550

@Bischel

Description

@Bischel

Environment

  • Operating System: Linux
  • Node Version: v20.19.1
  • Nuxt Version: 4.2.1
  • CLI Version: 3.30.0
  • Nitro Version: 2.12.9
  • Package Manager: pnpm@10.6.5
  • Builder: -
  • User Config: compatibilityDate, devtools, ssr, modules, css, routeRules, supabase, runtimeConfig, vite
  • Runtime Modules: @nuxt/eslint@1.11.0, @nuxt/hints@1.0.0-alpha.2, @nuxt/image@2.0.0, @nuxt/ui@4.2.1, @nuxt/scripts@0.13.0, @nuxtjs/supabase@2.0.1
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Nuxt

Package

v4.x

Version

v4.2.1

Reproduction

no reproduction

Description

Drawer not closing properly by dragging on mobile devices. On desktop devices it works fine. You could check it by opening drawers documentation in mobile view and try to open/close first and second examples. First one using template slot #content for placeholder and it closing by dragging by content and by handle. Second example using template slot #body and drawer snaps to bottom if you try to drag by content but works on handle. All examples works fine in Firefox but not in Chrome / Chromium.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting initial review and prioritizationv4#4488

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions