vnphanquang / svelte-put

Useful svelte stuff to put in your projects
https://svelte-put.vnphanquang.com
MIT License
837 stars 25 forks source link

movables do not behave as expected on mobile / with touch input #242

Closed EmeraldSnorlax closed 1 year ago

EmeraldSnorlax commented 1 year ago

dragging elements with movable with touch input does not actually move them -- it instead scrolls the viewport (i.e. default behaviour with no movement)

https://developer.mozilla.org/en-US/docs/Web/API/Element/touchmove_event may be relevant

vnphanquang commented 1 year ago

@EmeraldSnorlax Thanks. I'm looking into it and will roll out support for touch devices in an upcoming release :pray:

vnphanquang commented 1 year ago

added support in 3.1.0. Closing for now, please feel free to reopen if you are still having problems.