Skip to content

[MdCardExpand] Card grows as dynamic content is added to md-card-expand-content #1795

@atinybeardedman

Description

@atinybeardedman

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions