angular2-draggable
angular2-draggable copied to clipboard
Draggable/Resizeable element moves off the position in Angular 10+
The library is working fine till Angular 9. Once I updated to Angular 10 and above , the resizeable/draggable element moves away/disappears from the position it normally should be whenever the element is resized. The application uses like a resizeable/draggable element within another esizeable/draggable element .
Upon further investigation I found that there is a tranform css applied by the library which is calculated wrongly and makes the element move off the position. Also not using the 'bounds' parameter seems to resolve the issue.