re-resizable icon indicating copy to clipboard operation
re-resizable copied to clipboard

How to let user collapse panel?

Open FezVrasta opened this issue 4 years ago • 2 comments

Hi, this is just a question, so I'm not filling out the bug template.

I'm using re-resizable to allow my users to reside a side panel, now I'd like the panel to completely collapse when they try to resize it more than what I defined as min-width, I can't seem to find any API to detect this kind of event though? How could I proceed?

Also, is there any way to detect a double click on the resize/draggable gutter?

FezVrasta avatar Mar 17 '20 15:03 FezVrasta

Did you find any solution on this matter ?

roshangm1 avatar Apr 25 '20 12:04 roshangm1

I used updateSize() method to make the width 0 when some minimum width is acheived.

roshangm1 avatar Apr 25 '20 15:04 roshangm1