A block is dragged across the screen is stuck and does not work onmouseup?

https://jsfiddle.net/uy91cwLa/

Drag a green block, sometimes is stuck, does not work move.onmouseup. Please tell me why?
June 8th 19 at 16:46
2 answers
June 8th 19 at 16:48
Solution
June 8th 19 at 16:50
Solution
but here, too, if you go beyond that block, too, just dragged
probably worth it to fend off the document or body - nikolas.Reichert commented on June 8th 19 at 16:53
https://jsfiddle.net/uy91cwLa/4/ - nikolas.Reichert commented on June 8th 19 at 16:56

Find more questions by tags JavaScript