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

Allowing scroll within the drawer introduces unreliable dragging on mobile #358

Open
pukmajster opened this issue May 25, 2024 · 2 comments

Comments

@pukmajster
Copy link

pukmajster commented May 25, 2024

On horizontal drawers, frantic and/or diagonal movements will start dragging the drawer, but only for a small bit, without moving back to it's proper position after letting go of the touch. video

A similar issue can be experienced on vertical drawers, by simply swiping up and down. This exact issue can be found on the official vercel drawers and on the "Scrollable with inputs" example linked in the readme. video

Link for reproduction (vaul 0.9.1)

Tested and reproduced on:

  • mac os sonoma, chrome with mobile view
  • android chrome and firefox
@alananisimov
Copy link

I have the same problem. Were you able to find a solution?

@pukmajster
Copy link
Author

Haven't tried it myself yet, but a potential workaround would be to set handleOnly to true. Not ideal though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants