vue-drag-drop icon indicating copy to clipboard operation
vue-drag-drop copied to clipboard

Mobile support?

Open n3m3s7s opened this issue 7 years ago • 5 comments

Hi there. Thank you for this useful plugin; is there any chance that this could work on a mobile device? sadly at the time of writing nothing of bindable events fires on a touch/mobile device, and I was wondering if there is a quick fix for that; please: the official demo is not working on mobile too.

Thanks!!

n3m3s7s avatar Mar 28 '18 08:03 n3m3s7s

I've just found this polyfill: https://github.com/timruffles/mobile-drag-drop It seems that installing it resolve most of the issues, but it is required to add the "event.preventDefault()" for the nativeEvent in "dragEnter" event/method; maybe this is useful for everyone that needs mobile/touch support;

Thanks, bye!

n3m3s7s avatar Mar 28 '18 08:03 n3m3s7s

I'll look into this. Thanks.

cameronhimself avatar Apr 05 '18 00:04 cameronhimself

Any news with regards to mobile drag&drop support? I've found that if dropped onto a valid element, the page reloads with transfer-data in the URL on iOS Safari 11.3. The same code works absolutely fine on iOS Firefox and Android Chrome. Does anyone have any ideas what could cause this behaviour?

davek1979 avatar Jul 02 '18 09:07 davek1979

Any news here?

janko-sokolovic avatar Dec 13 '18 10:12 janko-sokolovic

Any updates?

seandelaney avatar Apr 09 '19 13:04 seandelaney