Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is html5 drag and drop broken on safari browser for windows?

Is html5 drag and drop broken on safari browser for windows ? If so, are there any work arounds ?

I'm using Safari 5.1.2 on Windows 7 and the drop targets always show up as non droppable. Tried this on 2 different windows 7 computers with clean install and latest setup.

Tried with both this demo and my own code which works on every other latest browser.

http://html5demos.com/drag

like image 689
ivymike Avatar asked Mar 12 '12 17:03

ivymike


2 Answers

Indeed D&D for Safari doesn't work.

Kind of work around for Safari:

Put the logic in the 'dragend' event of the draggable object
Instead in the 'drop' event of the dropping on object.

like image 93
MosheZ Avatar answered Sep 18 '22 13:09

MosheZ


Yes. After a lot of self-doubt, experimentation, and research, I can say that it is definitely broken for me too (Safari 5.1.7 on Windows) as at today: 15 Nov 2012. This has been quite confusing and distressing!

Hope Apple comes to the party soon.

like image 35
aaaidan Avatar answered Sep 20 '22 13:09

aaaidan