Closed
Description
Bug, feature request, or proposal:
When trying to drag a cdkDragItem outside of the view, it does not scroll to show the rest of the cdkDrop div / the rest of the page.
What is the expected behavior?
The view should scroll towards the direction in which the element is being dragged to reveal the rest of the page.
What is the current behavior?
The view doesn't scroll, the droppable item cannot move out of the current view
What are the steps to reproduce?
In the following stackblitz, try to drag an item from the start of the list to the bottom of the list.
https://stackblitz.com/edit/angular-emaoau
What is the use-case or motivation for changing an existing behavior?
The current behaviour feels very restrictive. you could have to take multiple steps if you want to drag and drop an element in a larger list.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
- Angular Cdk 7.0.0 beta to 7.0.0-rc.1