Hi
I'm struggling over an issue with the drag and drop script explained here: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_draggable.
When the drag element is moved outside the browser and the mousebutton is released, the element will stick to the cursor when returning to the window and it's impossible to release it.
It works fine on this site: https://www.w3schools.com/howto/howto_js_draggable.asp, probably cause it's nested inside an iframe.(?)
It's not an issue when the default behaviour of the browser is not prevented. But deleting the e.preventDefault() brings me a couple of other issues (selection, browser cursor).
Any suggestions?
Thx Marc