« Return to the main article
Currently the code does not allow the user to drag a news item below the bottom of the browser window if the body is scrolled. To fix that change the code at the bottom of the page from:
Sortable.create('NewOrder', {onUpdate:updateOrder})
To:
Sortable.create('NewOrder', {scroll:window,onUpdate:updateOrder})
This will allow the window to scroll while the user drags a news item to the non-visible area of the page.
Currently the code does not allow the user to drag a news item below the bottom of the browser window if the body is scrolled. To fix that change the code at the bottom of the page from:
Sortable.create('NewOrder', {onUpdate:updateOrder})
To:
Sortable.create('NewOrder', {scroll:window,onUpdate:updateOrder})
This will allow the window to scroll while the user drags a news item to the non-visible area of the page.