React Button Div Animation Issue: Opening and Closing Behavior Problem
I am new to react
if I close all the divs of the first button and then click second button at that time, second button divs are not opening.
Similarly if I close all the divs of the second button and then click first button div is not opening.
Can you let me know how to fix it .
even animation not working fine, all three div should open from right to left when I click on the button
Providing code below