thisbeyond / solid-dnd

A lightweight, performant, extensible drag and drop toolkit for Solid JS.
https://solid-dnd.com
MIT License
516 stars 34 forks source link

Document "touch-none" css for draggables or set it automatically #110

Closed LostKobrakai closed 6 months ago

LostKobrakai commented 6 months ago

I was wondering why drag and drop on my iPad was not working properly, but only on my own examples, not the solid-dnd website. By process of elimination I found the inclusion of "touch-none" within the windi config. Adding that tw class to my draggables resolved the issues I had seen.

It would be great if solid-dnd would set that css either manually or document that this is necessary to make things work on touch devices.

LostKobrakai commented 6 months ago

Seems like this was already requested in #59