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
By default ReactCollapse destroys content of collapsed element. setting keepCollapsedContent to true allows to keep content. ReactCollapse renders container with height: 0 and overflow: hidden (with all the content untouched) when closed instead of destroying it.
FIX: Use clientHeight
FIX: Pass style params to wrapper so it has the same style/class as original one and height is detected correctly
FIX: Do not recalculate height if children have not changed
ADD: Example with random text + GIF demo updated