Sortable icon indicating copy to clipboard operation
Sortable copied to clipboard

[feature] When disable is set to true when the user has already dragged, automatically force the user to cancel the drag.

Open lushangkan opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. When disable is set to true when the user has already dragged, automatically force the user to cancel the drag.

In the current version, if you set disable to true after the user has dragged an element, the dragged element will not be returned to its original position, but will continue to be dragged by the user.

Demo

Describe the solution you'd like When disable is true, the element is forced into place even if the user doesn't let go.

Describe alternatives you've considered Nope.

Additional context vue.draggable.next v4.1.0

lushangkan avatar Oct 31 '23 11:10 lushangkan

yes, I also encountered this need

Boboboer avatar Jan 10 '25 09:01 Boboboer