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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
What's improved
Collapse is now more performant, using only one requestAnimationFrame call per expand/collapse. This was achieved by streamlining the logic behind retrieving the auto duration value, which is now only captured on mount.
No longer enforcing margin: 0 and border: 0 on the Collapse element fixed styles.
When baseHeight dynamically updates to 0 on collapsed state, display: hidden is now added on the Collapse element styles.
Added examples to the README on how to use different easing and durations per expand/collapse.