`draggableAt` is Not Working
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.
did you manage to have a workaround ?
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. Thinking of create a fork just to fix that problem and others already opened on pull requests.
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.
Anyone working on a fix for this yet? just ran into it as well.
As @Temzasse have mentioned here.
This issue could be closed.
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.
Closing this as non-issue. If there are problems on Android that should be tracked in a separate issue.