If we wait for the form to submit it can happen that we don't remove the dragged item!

This commit is contained in:
Jorge Manrubia
2025-06-12 12:33:01 +02:00
parent 97fecc2bbe
commit 5364585818
@@ -37,9 +37,9 @@ export default class extends Controller {
if (!container) { return }
await this.#submitDropRequest(this.dragItem, container)
this.wasDropped = true
await this.#submitDropRequest(this.dragItem, container)
}
dragEnd() {