React-Fast-Accordion
React-Fast-Accordion copied to clipboard
DetailComponent doesn't show up for the first click

See the screenshot.
The first item is clicked once. It changed classes, so I've got the isOpen prop to be true.
The second item is clicked three times: open(no), close, open(yes). And it starts to work fine.
The third item is just a closed item example.
Sometimes some items work for the first click. But mostly not.
I noticed that the CSS properties of the DetailComponent tag (max-height and opacity) do not change even when it works fine.
Can you please provide a reproduction on codesandbox with a screen recording