SortableJS / Sortable

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.
https://sortablejs.github.io/Sortable/
MIT License
29.42k stars 3.7k forks source link

clicking drag handle cause unwanted selection on a multi select dropdown #1160

Open dereklin opened 7 years ago

dereklin commented 7 years ago

This is related to https://github.com/CuppaLabs/angular2-multiselect-dropdown/issues/38

In my sortable rows, I have a multi select dropdown. When I select an item and then unselect it, and when I click on the drag handle, the drag handle selects the previously selected item.

Is there a way to prevent this?

When I click on the drag handle, I notice that the dropdown is not closed right away, I think it's waiting for a document.click (outside click). I tried the delay option but it doesn't work...

dereklin commented 7 years ago

I wonder if this is only css related. I see that the checkmarks are added back, but there is no click event in the dropdown.

owen-m1 commented 5 years ago

Try master