Skip to content

Slots are not rendered in snapshot when they are in v-expansion-panel of Vuetify #887

Closed
@trollepierre

Description

@trollepierre

Version

1.0.0-beta.22

Reproduction link

https://codesandbox.io/s/43k3520wmw

Steps to reproduce

Slots are not rendered in snapshot when they are in v-expansion-panel of Vuetify

<template>
  <div id="my-component">
    <v-expansion-panel>
      <v-expansion-panel-content>
        Outside slot
        <div slot="header">Pierre</div>
      </v-expansion-panel-content>
    </v-expansion-panel>
  </div>
</template>

What is expected?

<div
  id="my-component"
>
  <v-expansion-panel-stub>
    <v-expansion-panel-content-stub
      expandicon="$vuetify.icons.expand"
    >
      
        Outside slot
        <div slot="header">Header</div>
    </v-expansion-panel-content-stub>
  </v-expansion-panel-stub>
</div>

What is actually happening?

<div
  id="my-component"
>
  <v-expansion-panel-stub>
    <v-expansion-panel-content-stub
      expandicon="$vuetify.icons.expand"
    >
      
      Outside slot
      
    </v-expansion-panel-content-stub>
  </v-expansion-panel-stub>
</div>

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