Sortable: Scrolling does not work with fixed nav bars.

Created on 8 Dec 2017  路  3Comments  路  Source: SortableJS/Sortable

Issue:
Scrolling does not work with fixed nav bars. Affects (latest stable Windows releases of at time of report) Firefox (57.0.2), Chrome (63.0.3239.84), Edge (40.15063.674.0), IE 11.

Reproduction:
See: http://jsbin.com/fuwafasefe/1/edit
Drag item down to bottom, where there is no fixed element, allows window to scroll. Once window has scrolled down, dragging item up, where there is a fixed nav bar, does not allow window to scroll.

Same as closed issue #400

Most helpful comment

I had the same problem, I fixed it by setting pointer-events: noneon the fixed element when starting reordering.

All 3 comments

Also just noticed this Issue. I use it with Electron (Chrome only therefore) and a sticky footer.
However, it's only activating the scrolling when it's hitting the top/bottom of the window rather than the end of the visible container.

Got around so far by just setting the scrollSensitivity bigger than the footer-height, but it's not a very clean and responsive solution.

This still seems to be an issue in the latest version (1.7.0)

I had the same problem, I fixed it by setting pointer-events: noneon the fixed element when starting reordering.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chrishaigy picture chrishaigy  路  3Comments

garygreen picture garygreen  路  3Comments

binitghetiya picture binitghetiya  路  4Comments

graemegeorge picture graemegeorge  路  4Comments

pageYe123 picture pageYe123  路  3Comments