fix: cleanup/hide drag handles post drop

This commit is contained in:
Palanikannan1437 2024-03-14 13:13:29 +05:30
parent 13ba7d59e0
commit 252c8a30bc

View File

@ -233,6 +233,7 @@ function DragHandle(options: DragHandleOptions) {
}, },
drop: (view) => { drop: (view) => {
view.dom.classList.remove("dragging"); view.dom.classList.remove("dragging");
hideDragHandle();
}, },
dragend: (view) => { dragend: (view) => {
view.dom.classList.remove("dragging"); view.dom.classList.remove("dragging");