nkbt/react-collapse

Quick jump when children contain margins

Closed this issue · 1 comments

Version
react-collapse@4.0.3 with react-motion@0.5.2

Steps to reproduce

  1. Go to https://codepen.io/tkrugg/pen/NVKQEL?editors=1111

  2. Toggle open button

What is expected?
No jump

What is actually happening?
There is jump at the end of the animation, right after the height is set to auto.

Untitled