Stereobit / dragend

dragend JS – a touch ready, full responsive, content swipe script
http://stereobit.github.com/dragend/
MIT License
486 stars 113 forks source link

IE 11 does not work & callback functions do not appear to be working in Firefox #27

Closed nvzsolutions closed 10 years ago

nvzsolutions commented 10 years ago

I have tested the script in IE 11 but it does not function like expected. I cannot drag the page. Sometimes i can drag the first page but after that, it does not do anything. I also added hammer.js to the page as the description describes but that does not fix the problems.

i found out that IE did not like te following line: dataTransfer.setData && dataTransfer.setData('text/html', null); http://msdn.microsoft.com/en-us/library/ie/ms536744%28v=vs.85%29.aspx // text/html does not appear to be a valid format.

But this does not solve the issues of IE. Can you point me in the right direction?

The callback functions do well in chrome but in Firefox and IE they do not seem to be called. onSwipeEnd is never called onDragEnd is called in Firefox but not in IE.

jennesrutten commented 10 years ago

I had this exact same problem. I think it's a problem with the latest release because using version 0.2.0_rc2 of dragend.js fixed this for me. It does not have the afterInitialize option which I needed but I was able to fix that by copying the code for the option from the the latest version and pasting it in the dragend.js file that I was using. Hope this helps!

Stereobit commented 10 years ago

New release. Can you please check again?