drag and drop works on the browser, but once in game does not work HTML: <ul id="proximity" ondrop="drop(event)" ondragover="dragover(event)"></ul> JS: function dragover(e) { e.preventDefault(); console.log("dragover"); } function drop(e) { e.preventDefault(); console.log("drop"); } var li = document.createElement('li'); li.setAttribute('draggable', true); li.addEventListener("dragstart", function(e) { console.log("dragstart"); })