Closed
Description
Reproduction
Use StackBlitz to reproduce your issue:
https://stackblitz.com/edit/angular-fdjqyx
Steps to reproduce:
- create a cdkDrag item with a boundary element
- first, drag the item around
- then increase the drag item 's size dynamically( for example : click a button to change it's style.height and style.width)
- and then drag the item , it will be out of the boundary element
Expected Behavior
What behavior were you expecting to see?
resize the drag item then drag it, it should not be out of the boundary element
Actual Behavior
What behavior did you actually see?
the resized ckdDrag item will be out of the boundary element
Environment
- Angular: 8.1.0
- CDK/Material: 8.1.0
- Browser(s): firefox ,chrome
- Operating System (e.g. Windows, macOS, Ubuntu): macOS