Skip to content

Dynamic component not rendering slot tree #6891

Closed
@stasson

Description

@stasson

Version

2.5.2

Reproduction link

https://stasson.github.io/vue-mdc-adapter

Steps to reproduce

1- Open https://stasson.github.io/vue-mdc-adapter with chrome or edge, full width,
2- click the toolbar menu icon, the persistent drawer open/close and renders properly
3- Decrease the width of the window so that you hit the mobile media query (max-width: 840px)
4- the drawer is now a temporary drawer ( fixed ) but content is not rendered

What is expected?

the drawer content should be rendered

What is actually happening?

once dynamic update of the drawer component, the content (slot) is not rendered


a sumary on the issue on the forum:
https://forum.vuejs.org/t/dynamic-component-not-rendering-slot-tree/20215

to reproduce in dev mode:
clone the repo https://github.com/stasson/vue-mdc-adapter then npm install ; npm run dev

I already tried to checked that the lyfe-cycle seem to be properly called and that $slot.default has the proper VNodes. Am I facing a virtual dom caching issue ?

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