Skip to content

[2.6.13] Node after v-if node inside named slot is not shown anymore #12102

Closed
@caugner

Description

@caugner

Version

2.6.13

Reproduction link

https://codesandbox.io/s/recursing-dream-0zdf5?file=/src/App.vue

Steps to reproduce

<template>
  <ComponentWithSlot>
    <template #slot-name>
      <span v-if="false">...</span>
      <span>This is shown in 2.6.12, but not in 2.6.13.</span>
    </template>
  </ComponentWithSlot>
</template>

What is expected?

The text after the v-if node should be shown.

What is actually happening?

It was shown in 2.6.12, but isn't shown in 2.6.13 anymore.

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