b-zurg/react-collapse-pane

onCollapse hook triggers when the size of the surrounding component is changed

BjoernNebe opened this issue · 0 comments

It seems the onCollapse hook is triggered when the component containing the CollapsePane and its two components. For example because the browser size is changed and the layout is refreshed. I have no possibility to decide if the component was really collapsed or if only the size was changed.

I currently use version 2.0.1.