vue-draggable icon indicating copy to clipboard operation
vue-draggable copied to clipboard

Allow user to customize if he wants the library to reorder the dom.

Open swaroopjo opened this issue 5 years ago • 3 comments

Allow user to customize if he wants the library to reorder the dom. Allow user to customize if the selections can be cleared after drop.

swaroopjo avatar Feb 24 '20 20:02 swaroopjo

Warnings are found on analyzing the commit ff4dfb3ad62836f68da954d9d0b7422880661123.

1 warning:

We recommend to address them as possible, for example, update outdated dependencies, fix the tool's configuration, configure sider.yml, turn off unused tools, and so on.

If you are struggling with these errors or warnings, feel free to ask us via chat. 💬

ghost avatar Feb 24 '20 20:02 ghost

Hi @swaroopjo ,

First of all, I would like to thank you for taking your time to improve the library.

Additional option clearSelectionAfterDrop (it's more descriptive named like this) seems reasonable and I think we should add it.

However, I don't see the use case for reorderEnabled. By default we don't do any of DOM manipulations since reactivity mode is enabled. Do you have any practical example where reorderEnabled option will be useful?

Thanks.

nikolasp avatar Feb 25 '20 21:02 nikolasp

I’ll remove the reorderEnabled and rename the flag.

Thanks, Jyothi

swaroopjo avatar Mar 13 '20 01:03 swaroopjo