mdbootstrap / perfect-scrollbar

Minimalistic but perfect custom scrollbar plugin. Get more free components with Material Design for Bootstrap UI Kit (link below)
https://perfectscrollbar.com/
MIT License
346 stars 66 forks source link

Perfect Scrollbar with jQuery Sortable #127

Open rmemon opened 6 years ago

rmemon commented 6 years ago

Integrating perfect scrollbar with jQuery sortable.

The sortable list is that has perfect scrollbars applied, and everything works as I'd expect, but dragging an item does not make the scrollbar scroll.

how to enable scrolling while dragging the sortable.

Please look into below jsfiddle,

jQuery sortable without perfect scrollbar: https://jsfiddle.net/rahilmemon/dsh1x34v/3/

jQuery sortable Integrating perfect scrollbar: https://jsfiddle.net/rahilmemon/dsh1x34v/4/

Thanks in advance..

geiregjo commented 6 years ago

I justed stumbled on this same problem. I depend on jQuery UI Draggable which Sortable depends on. Did anyone look into this yet?

ManzerHa-Kore commented 4 years ago

Did anyone found the solution?

fzunic7 commented 3 years ago

in sortable options add this: items: "div:not(.ps-scrollbar-x-rail)" for horizontal or items: "div:not(.ps-scrollbar-y-rail)" for vertical scrollbar