Angular Material multi objects drag and drop with resizing problem

被刻印的时光 ゝ 提交于 2020-05-24 05:35:13

问题


hi I stuck problem about programming drag and drop with resizing

dynamically add cdkDrag div by click add button It works have only one div, but if I add more than 2 divs , When try to resize height of older div.other divs move followed by older div resizing. It's quite strange. Is it bug?

I tried all other stuff but failed.please check follow site and advice me. https://stackblitz.com/edit/angular-ivy-vkxx3r

Thanks


回答1:


finally I solved. just change object postion relative to absolute. what an idoit I am.



来源:https://stackoverflow.com/questions/61846413/angular-material-multi-objects-drag-and-drop-with-resizing-problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!