dillon1000/react
Commit
Browse files Modify sample CSS so that it works in Safari
When animating the max-height property in Safari, entering the leave state would trigger an animation to `max-height: 0`. Then when the active state kicked in, it would jump and didn't really look right. Moving the `transition` css property to the active version fixed the issue for me and worked on Safari, Chrome and Firefox. Unfortunately I'm not in a position to test in IE at the moment, but I'll do that at my first convenience tomorrow.
Changed paths1 file
First-parent comparisondocs/docs/10.1-animation.md ModifiedPatch
Files changed
Rendering syntax-highlighted changes…