ui-sortable icon indicating copy to clipboard operation
ui-sortable copied to clipboard

ui-sortable problem when using ui-rangeSlider

Open itskashi opened this issue 11 years ago • 11 comments

Hi - I am using ui-sortable with ui-rangeSlider. I have a list of item to sort in a div. and I have the slider on the same page. Initially the sort and drag and drop works fine. But one you play with slider the ui-sortable stops working and I can not drag drop sort the lists any more.

Looks like there is something connected to Model change but I tested this with a very simple model and still it does not work. Can you please look into the issue.

Is there anything that I must do to refresh the ui-sortable during or after the slider events are called.

itskashi avatar Nov 12 '15 08:11 itskashi

Hi there, can you fork one of the examples found in README and provide me an example to test on?

thgreasi avatar Nov 12 '15 08:11 thgreasi

Any feedback on this?

On Thu, Nov 12, 2015, 10:28 itskashi [email protected] wrote:

Hi - I am using ui-sortable with ui-rangeSlider. I have a list of item to sort in a div. and I have the slider on the same page. Initially the sort and drag and drop works fine. But one you play with slider the ui-sortable stops working and I can not drag drop sort the lists any more.

Looks like there is something connected to Model change but I tested this with a very simple model and still it does not work. Can you please look into the issue.

Is there anything that I must do to refresh the ui-sortable during or after the slider events are called.

— Reply to this email directly or view it on GitHub https://github.com/angular-ui/ui-sortable/issues/406.

Thodoris Greasidis Computer, Networking & Communications Engineer

thgreasi avatar Nov 16 '15 07:11 thgreasi

Any further feedback on this? Do you have difficulties creating an example pen? Anything I could possibly help you with?

Thodoris Greasidis Computer, Networking & Communications Engineer

thgreasi avatar Nov 23 '15 06:11 thgreasi

Hi, i have the same problem. Using ui-slider breaks sortable-functionality. I can send you an example if you need one.

ddxy avatar Dec 03 '15 11:12 ddxy

Here is the link: http://codepen.io/anon/pen/wMwNOQ

After using the range-slider, i can sort the list one time and then it stopped working :(

ddxy avatar Dec 03 '15 11:12 ddxy

Thanks for the example pen That's very interesting.... We might be messing with each other's even handling.... I will investigate, but please post this issue to the repository of RangeSliden as well.

thgreasi avatar Dec 03 '15 17:12 thgreasi

Thanks for the fast answer! I posted it on his repo, but he seems inactive for quiet a while. If you find a fix or short workaround, i would be happy if you can keep me up2date :-), since i need both plugins for my thesis :-)

ddxy avatar Dec 03 '15 18:12 ddxy

Related to danielcrisp/angular-rangeslider#92. Have you considered trying an alternative directive, like: angular-ui/ui-slider ?

thgreasi avatar Dec 03 '15 19:12 thgreasi

looks promising, i will try it out. Thanks!!

ddxy avatar Dec 03 '15 19:12 ddxy

Any feedback on this? Have you managed to make it work? Should this issue be closed?

Thodoris Greasidis Computer, Networking & Communications Engineer

thgreasi avatar Dec 08 '15 17:12 thgreasi

It works perfect with ui-slider, thanks!

ddxy avatar Dec 08 '15 20:12 ddxy