Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DetailComponent doesn't show up for the first click #7

Open
Yevhenii2 opened this issue Sep 16, 2022 · 1 comment
Open

DetailComponent doesn't show up for the first click #7

Yevhenii2 opened this issue Sep 16, 2022 · 1 comment
Labels
question Further information is requested

Comments

@Yevhenii2
Copy link

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.

@ShivamJoker
Copy link
Owner

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

@ShivamJoker ShivamJoker added the question Further information is requested label Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants