angular-ui / ui-sortable

jQuery UI Sortable for AngularJS
http://angular-ui.github.io/ui-sortable/
MIT License
1.26k stars 444 forks source link

added `ui-preserve-size` option #541

Closed dashawk closed 6 years ago

dashawk commented 6 years ago

This will add a new option to preserve the element widths when dragging.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-1.4%) to 98.649% when pulling d151ca3c4fa6ee940b46a6247a9895aa4c54bd74 on dashawk:helper-fixes into 17c4158b071f978c919e15ffe44875b38ae9e4c0 on angular-ui:master.

thgreasi commented 6 years ago

Will this work if you don't define a helper option at all?

dashawk commented 6 years ago

Will this work if you don't define a helper option at all?

Yes it will work.

thgreasi commented 6 years ago

Can you also confirm that this is also true when not using the multiselect add-on? I was just checking the code and I think that the internal helper method will not be used in that case.

dashawk commented 6 years ago

Yes it also works without the multi-select add-on. I can't create a plunk here in my workstation because of the our firewall.

Tested it in our own projects.

thgreasi commented 6 years ago

https://codepen.io/thgreasi/pen/boyzNP But I have written some code, will check back during the weekend. Thanks for working on this 👍