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 neen a new event rzBeforeStart. The event should occur at the very begining of resize process.
I try to customize Angular Material dialog to make it resizable. Since the dialod is not positioned absolutly, I try to do the following: on resize start I set the dialog position to absolute and change top and left properties of the dialog. But at this moment the resize directive has already saved the element's position to properties _currPos and _origPos which doesn't allow the directive resize the element correctly. It looks like a new event rzBeforeStart can solve the problem and can be usefull in other cases when you need to change the element being resized before resizing.
Thanks
The text was updated successfully, but these errors were encountered:
Hi @xieziyu
I neen a new event rzBeforeStart. The event should occur at the very begining of resize process.
I try to customize Angular Material dialog to make it resizable. Since the dialod is not positioned absolutly, I try to do the following: on resize start I set the dialog position to absolute and change top and left properties of the dialog. But at this moment the resize directive has already saved the element's position to properties _currPos and _origPos which doesn't allow the directive resize the element correctly. It looks like a new event rzBeforeStart can solve the problem and can be usefull in other cases when you need to change the element being resized before resizing.
Thanks
The text was updated successfully, but these errors were encountered: