May 04, 2017
- 🐛 Bugfix Accessing PropTypes from 'prop-types' package instead of main React package. React.PropTypes will be deprecated in React 15.5
Apr 30, 2017
- 🐛 Bugfix When
isOpen={true}
, set theoverflow: visible
after the component mounts to prevent cutting off content that may overflow outside the flow ofheight: auto
(i.e. child content withposition: relative
and grandchildren withposition: absolute
may get cut off).
Apr 7, 2017
- 🎉 Feature added
onRest
callback. The callback is triggered when your transition onheight
(specified inclassName
) is done. - 💥 Breaking Remove
onTransitionEnd
callback. Please useonRest
instead.
Apr 7, 2017
- 🎉 Feature added
onTransitionEnd
callback that gets called after the expand/collapse animation has finished
Apr 5, 2017
- 🐛 Bugfix Using setTimeout(fn, 0) to ensure correct pixelheight is set before transition (back) starts. This ensures we are not transitioning back from
auto
. Ref: http://stackoverflow.com/questions/779379/why-is-settimeoutfn-0-sometimes-useful - 🐛 Bugfix Checking if content is set before accessing content in requestAnimationFrame callback. This fixes a bug where
this.content
was null initially when navigating back to a page using react-css-collapse you had been to before.
Apr 3, 2017
- 🎉 Feature Setup tests
- 🎉 Feature Do not require children property
Mar 29, 2017
- 🎉 Feature Set initial height without transition on mount if collapse is open
- 💥 Breaking Remove style property from collapse. We had to remove this property to prevent conflicts with crucial style properties used in the component and to set initial height without transition on mount when collapse is open.
Mar 28, 2017
- 🔩 New Created
Collapse
component