A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuematerial/vue-material/issues/1795 below:

[MdCardExpand] Card grows as dynamic content is added to md-card-expand-content · Issue #1795 · vuematerial/vue-material · GitHub

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?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4