-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[MdCardExpand] Card grows as dynamic content is added to md-card-expand-content #1795
Comments
Here is simple solution to update margin: https://codesandbox.io/s/7wopvk909q |
I believe i'm facing a similar issue (perhaps the same) when generating multiple cards from API results.
When using this pattern some of the cards render okay and others render with part of the action buttons cut off at the bottom. Any idea if this is the same issue? Using:
Another thing to add... when I click the arrow to expand the content then click it again to hide the content, the div height is fixed. |
I have a card where the hidden expansion content is dynamic and will grow. As the content grows the margin offset of the hidden content doesn't update so the card grows.
See demo here:
https://codesandbox.io/s/py1m35w0kj
Currently it looks like the offset is only being calculated on mount. I'm new to Vue, but could this be changed to update as the slot changes should trigger that lifecycle hook and correct the problem?
The text was updated successfully, but these errors were encountered: