CSS Transition Not Animating in React Component
A react component has a button that opens or closes a div by changing its height style property. The div also has a transition style property which should presumably animate the change in height. However, what we see instead is…