We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3481847 commit 30508ceCopy full SHA for 30508ce
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
@@ -1147,6 +1147,9 @@ function RemoteFunctions(config = {}) {
1147
1148
NodeMoreOptionsBox.prototype = {
1149
_registerDragDrop: function() {
1150
+ // disable dragging on all elements and then enable it on the current element
1151
+ const allElements = document.querySelectorAll('[data-brackets-id]');
1152
+ allElements.forEach(el => el.setAttribute("draggable", false));
1153
this.element.setAttribute("draggable", true);
1154
1155
this.element.addEventListener("dragstart", (event) => {
0 commit comments