vue-draggable-resizable icon indicating copy to clipboard operation
vue-draggable-resizable copied to clipboard

reset Height to initial value when user clicks certain button

Open leevanhe opened this issue 5 years ago • 4 comments

Is there any solution to the next problem:

users resizes div but after a certain flow that div needs to go back to it's initial height.

leevanhe avatar May 13 '20 07:05 leevanhe

Save initial height then on click apply saved value.

TitanFighter avatar May 13 '20 07:05 TitanFighter

but when i give a fixed height style property i can not resize the div anymore

leevanhe avatar May 13 '20 08:05 leevanhe

so this is the flow: users resizes div modal opens but users cancels flow div needs to go to initial value (but needs to keep the possibilty to resize)

leevanhe avatar May 13 '20 08:05 leevanhe

Show your code via codesandbox or something similar, then I can fix your issue.

TitanFighter avatar May 13 '20 08:05 TitanFighter