Sortable: Smart scroll with fixed elements

Created on 21 Jul 2016  路  2Comments  路  Source: SortableJS/Sortable

Alright, sorry for the title changes, I was mistaken on what the actual issue was.

Is there any way to implement auto scroll with a fixed nav bar and footer? With both fixed elements, auto scroll only works when hitting the top border, when I remove them, both directions work.

https://github.com/RubaXa/Sortable/issues/304 <-- Related, but I don't want to solve my problem by giving my content a height/scrollbar

Using Chrome.

feature

Most helpful comment

Here is page that reproduces the problem.

All 2 comments

Here is page that reproduces the problem.

Workaround: http://jsbin.com/zitejez/edit?html,css,js,output

#simpleList {
  position: absolute;
  overflow: hidden;
  top: 60px;
  bottom: 35px;
  left: 10px;
  right: 10px;
}
Was this page helpful?
0 / 5 - 0 ratings