Skip to content

Releases: nkbt/react-collapse

v1.6.1

20 Dec 13:20
Compare
Choose a tag to compare
  • #21 Fix unwanted animation if isOpened state is unchanged

v1.6.0

20 Dec 11:13
Compare
Choose a tag to compare
  • #18 An option to keep the node (not return null) when the height is zero

    keepCollapsedContent: React.PropTypes.bool (default: false)

    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.

v1.5.0

19 Dec 12:52
Compare
Choose a tag to compare

v1.3.0

01 Nov 12:03
Compare
Choose a tag to compare

Remove HeightReported and replace it with react-height
Fixed #7 - Jumps to zero height and flickers from zero to X height

v1.2.0

26 Oct 09:49
Compare
Choose a tag to compare

#4 Allow to pass custom Spring config (damping/stiffness)

v1.1.3

21 Oct 11:30
Compare
Choose a tag to compare

Publish to Bower
Add Codepen demo
Create fresh GIF demo
Update README accordingly

v1.1.2

21 Oct 11:29
Compare
Choose a tag to compare

Relax react-motion peer dependency version to ^0.3

v1.1.1

19 Oct 12:04
Compare
Choose a tag to compare

Hotfix 888d8e8

v1.1.0

19 Oct 11:54
Compare
Choose a tag to compare

#2 Optimize react-collapse when height is static and known ahead
Refactored Examples
Added more examples to README

v1.0.2

18 Oct 12:43
Compare
Choose a tag to compare

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