sharedlabs / sortable-list

A web component for reorderable drag-and-drop lists on modern browsers and touch devices.
MIT License
36 stars 21 forks source link

Cannot scroll the list in mobile when disabled #25

Open gappaljor-tgot opened 5 years ago

gappaljor-tgot commented 5 years ago

By default, items in the list cannot be scrolled in mobile even though sortable-list is disabled! I found a way around by calling the _toggleListeners(false) inside sortable-list component which stops adding the event listeners. That makes the list scrollable in mobile! If I _toggleListener(true), It adds the event listeners and makes the list sortable. But now if I call the _toggleListner(false) again with "false", it does removes the event listeners but list is not scrollable anymore. Help would be much appreciated. thanks

ghost commented 5 years ago

@gappaljor-tgot Did you find a solution?