-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Overflow hidden on default slot prevents from setting correct height on element #25
Comments
Hi @oleh-selivanov, I can definitely look into it but I would kindly need you to create a reproduction on Stackblitz. |
No problem, gonna share it today |
So here is the demo cc @smastrom |
Hi @oleh-selivanov, sorry for getting back now but I've been a bit more busy than usual and thank you for providing the reproduction. I played a bit with it and yeah, While I'm still not sure why those DOM APIs acts like this when this occurs, I figured that since this is a very edge case caused by the content (and not by the package) and that it can easily be worked-around (by setting a specific height on the direct child and then However, what I can do and will do in the PR I'm merging is that everytime this occurs, vue-collapsed will force the expansion of the collapse container (without playing any transition) so that nobody will ever get stuck in a situation like yours and will actually be able to see the content, edit and test it. Thank you again for raising the issue and I'll hope you'll keep enjoying this package! Cheers! |
Hi, I am trying to create Collapse which contains to parts:
I have to set
overflow: hidden
to all items scrollable content is nested in, but settingoverflow: hidden
to top item inside collapse make it always 0px height. Maybe I missed something. Thanks in advanceThe text was updated successfully, but these errors were encountered: