Drawer not closing by drag on mobile
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 57
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the drawers documentation and compare the first and second examples in Chrome or Chromium mobile view. Check the drag behavior for the content and handle slots; done when both examples open and close by dragging without snapping incorrectly, while preserving the behavior that already works in Firefox.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100