rabbibotton / clog

CLOG - The Common Lisp Omnificent GUI
Other
1.51k stars 104 forks source link

iOS effectively doesn't support HTML 5 drag and drop events. #108

Closed solarmist closed 7 months ago

solarmist commented 2 years ago

https://stackoverflow.com/a/54303184/546404

How difficult would it be to add touch events as a fallback for mouse-less interaction?

Safari doesn't implement the DragEvent interface. It adds a dataTransfer property to MouseEvent instead. See WebKit bug #103423.

https://caniuse.com/dragndrop under known issues.

https://developer.mozilla.org/en-US/docs/Web/API/Touch_events

rabbibotton commented 2 years ago

Touch events (and pointer events) are implemented in CLOG. I'll try and look in to the dataTransfer property.

solarmist commented 2 years ago

That'd be great. Yeah, I tried the UI builder in iOS and it kinda sorta worked, but the drag and drop tutorial I couldn't get to work at all in Safari on iOS.

rabbibotton commented 2 years ago

Have not forgotten will get to this soon/

rabbibotton commented 7 months ago

Looks like mobile still does not support it. I may if have the time show some ways to emulate drag and drop but officially no mobile platform supports so closing ticket.