-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
fix: measure content height on layout change #147
fix: measure content height on layout change #147
Conversation
When you were with collapsible opened (`state.collapsed = false`) and children changes it's height, Collapsible component was breaking the layout.
Hey I think your PR looks good, can you just create a small example repo so I could see this in action? A before and after? |
Hey @iRoachie, could I sent you a GIF? Reproduce this error might take a while and I don't have too much time lately :/ |
Sure that works, just make sure in the gif you can see both:
|
Hi @iRoachie, Thanks |
Sorry guys, didn't have cycles to create a GIF or an example showing this working, could help us with that @ayushinigam? |
@ayushinigam I would love to merge this PR if it fixes a problem. I just need to be sure what it's supposed to fix, and if it accurately does that. This is the reasoning behind asking for an example app maybe to be made so that the changes can be observed |
@iRoachie why was this feature reverted? I have the same problem: I am using the |
@oliverdolgener because of #168 |
@iRoachie oh that's too bad! But I understand the problems this caused. Do you have an idea for my problem? Is there a function I could call upon receiving new data to update the collapsible height? |
@iRoachie I solved the problem by replacing my |
For those who still have this problem, I've found a little hack that should be better than replacing |
This PR introduces flickering. Anyone else experiencing the same? |
When you were with collapsible opened (
state.collapsed = false
) and children changes it's height, Collapsible component was breaking the layout.