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
isResizeable is false by default, so when I click for the second time it will call the function resetSize(). On the first call, it seems like it is OK. But at the second call, it does not resize the div to its original size.
When I debug inside resetSize() function I see that _initSize have height:17 which is WRONG!.
I have a bunch of ngIf statements inside resizeableDiv I think this might be the reason. I'm not sure how it seems like working at the first call to the function resetSize()
The text was updated successfully, but these errors were encountered:
Firstly I have to thank you for this useful library.
I have a div like this
<div #resizeableDiv="ngResizable" [ngResizable]="isResizeable" [ngClass]="{'draggable-content': isResizeable}">
inside
div
, there is a button to change the boolean variableisResizeable
.<a href="#" (click)="resetDiv(resizeableDiv)">...</a>
here is
resetDiv
functionisResizeable
is false by default, so when I click for the second time it will call the functionresetSize()
. On the first call, it seems like it is OK. But at the second call, it does not resize the div to its original size.When I debug inside
resetSize()
function I see that_initSize
haveheight:17
which is WRONG!.I have a bunch of
ngIf
statements insideresizeableDiv
I think this might be the reason. I'm not sure how it seems like working at the first call to the functionresetSize()
The text was updated successfully, but these errors were encountered: