You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used ngDraggable and ngResizable at the same time in our application. The app enables the user to drag and resize elements (div) anywhere inside a div containment and it has a rzMinWidth and rzMinHeight of 40. With this, the position can have a floating values (e.g translate(48.5px, 134.281px)). The problem is when the position became a floating values and resize is performed, it will automatically resize to a given minimum values and you cannot resize it anymore unless you will drag it back to 0, 0 position.
I want to know if this is some kind of a bug.
Thanks.
The text was updated successfully, but these errors were encountered:
Suggested fix: in AngularDraggableDirective.boundsCheck round values returned from getBoundingClientRect. For example : this.tempTrans.y -= Math.round(elem.top) - Math.round(boundary.top);
Hi,
I used ngDraggable and ngResizable at the same time in our application. The app enables the user to drag and resize elements (div) anywhere inside a div containment and it has a
rzMinWidth
andrzMinHeight
of 40. With this, the position can have a floating values (e.gtranslate(48.5px, 134.281px)
). The problem is when the position became a floating values and resize is performed, it will automatically resize to a given minimum values and you cannot resize it anymore unless you will drag it back to0, 0
position.I want to know if this is some kind of a bug.
Thanks.
The text was updated successfully, but these errors were encountered: