luckylooke / dragular

Angular drag and drop based on dragula.js. Visit
http://luckylooke.github.io/dragular/
MIT License
209 stars 67 forks source link

Bug: Uncaught TypeError: Cannot read property 'fm' of null #129

Closed phazei closed 7 years ago

phazei commented 7 years ago

Full error: dragular.js:681 Uncaught TypeError: Cannot read property 'fm' of null at drop (dragular.js:681) at cancel (dragular.js:786) at HTMLHtmlElement.release (dragular.js:450) at HTMLHtmlElement.dispatch (jquery.js:4737) at HTMLHtmlElement.elemData.handle (jquery.js:4549)

Using: Ubuntu 16.04, Chrome v58

To reproduce: http://luckylooke.github.io/dragular/#/docs/exampleBasicWithModel Drag the second item out of the boxes a couple times. Once you let go of the mouse, it will stay 'stuck' to the mouse till you drop it in one of the box. Doesn't seem to happen on the first item. I noticed this in my app and it reproduces in the demos.

luckylooke commented 7 years ago

Fixed, will be in next release ;)

luckylooke commented 7 years ago

Released: https://github.com/luckylooke/dragular/releases/tag/v4.3.4