If we wait for the form to submit it can happen that we don't remove the dragged item!
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user