taye / interact.js

JavaScript drag and drop, resizing and multi-touch gestures with inertia and snapping for modern browsers (and also IE9+)
http://interactjs.io/
MIT License
12.19k stars 782 forks source link

Issue on dropzones with 1.10.20 release #1016

Closed jules-w2 closed 7 months ago

jules-w2 commented 8 months ago

Hey @taye

I found a problem on dropzones with the new version (1.10.20). We detect an interaction but it is not the correct zone which is selected in the event.

I'm sure it comes from this update, because it's working well on 0.10.19 and lower.

Just change https://unpkg.com/interactjs@1.10.20/dist/interact.js by https://unpkg.com/interactjs@1.10.19/dist/interact.js and this jsfiddle and it this will work as it should

Do you know what's the problem ?

https://jsfiddle.net/nasmj1dc/6/

Bests

bartvermeulen1 commented 8 months ago

I'm having the same issue. Switching back to version 1.10.19 and it works again.

xiaoqingb commented 8 months ago

the same case, rollback to 1.10.19 will be ok

jurjanpaul commented 8 months ago

Same.

JustinWingChungHui commented 8 months ago

I'm also having the same issue

daniyal4v commented 7 months ago

Same here, it drops only in the first element.

ilhamem commented 7 months ago

same here, I switched back to the older version, and it works again

jules-w2 commented 7 months ago

thanks @taye It's working