React-Fast-Accordion icon indicating copy to clipboard operation
React-Fast-Accordion copied to clipboard

DetailComponent doesn't show up for the first click

Open Yevhenii2 opened this issue 3 years ago • 1 comments

image

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.

Yevhenii2 avatar Sep 16 '22 09:09 Yevhenii2

Can you please provide a reproduction on codesandbox with a screen recording

ShivamJoker avatar Sep 21 '22 21:09 ShivamJoker