-
Notifications
You must be signed in to change notification settings - Fork 80
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
draggableAt
is Not Working
#168
Comments
did you manage to have a workaround ? |
No, I did not. |
This is pretty annoying. The drag action is only working on web browser when no device view is applied. |
Hey everybody! 👋🏻 Chiming in here: the draggability is not super reliable on non-touch devices and I recommend testing it with a iOS/Android simulator instead of in Chrome's mobile emulation mode. @carlos-ribeiro-zup I'm very much open to PRs to improve the draggability/scrollability 😊 |
Thanks for replying @Temzasse. As the issues and PRs were opened too many days ago, I thought you've kind abandoned the lib. Glad it's not, cuz you did a really nice job here. |
Thanks @carlos-ribeiro-zup 👍🏻 I haven't abandoned the lib but I'm definitely much more busy nowadays so it's hard to find time to work on open source stuff 😞 Every now and then I get an energy boost and try to tackle multiple issues at once 😄 |
Anyone working on a fix for this yet? just ran into it as well. |
You're right. Confirming after testing https://temzasse.github.io/react-modal-sheet/#/scrollable-snap-points on my iPhone simulator that it works as intended. Thanks! |
After testing, I found that it works perfectly on iOS, but not on Android. I had to use vaul as an alternative solution. |
draggableAt
of the following example does not work on my device:https://github.com/Temzasse/react-modal-sheet/blob/HEAD/example/components/ScrollableSnapPoints.tsx
https://temzasse.github.io/react-modal-sheet/#/scrollable-snap-points
What I expected is that, when the content is scrolled to top, the sheet is draggable.
The text was updated successfully, but these errors were encountered: