Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: All interactive elements require double-click after closing drawer by releasing on mobile #775

Open
2 tasks
kristofferdamborg opened this issue Sep 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kristofferdamborg
Copy link

Reproduction

https://www.shadcn-vue.com/docs/components/drawer.html

Describe the bug

After closing the drawer component by dragging it down and releasing, the first click on any interactive element on the page is not registered. It requires a second click to actually trigger the element's action. It does only seem to happen on my mobile device.

Test flow:

  1. Open the drawer
  2. Close the drawer by dragging down and releasing
  3. You now have to click any interactive element on the page two times before the element's action is triggered

System Info

Test device: Google Pixel 8 Pro, Android 
Test browser: Google Chrome, version 128.0.6613.146

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@kristofferdamborg kristofferdamborg added the bug Something isn't working label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant