Skip to content

Incorrectly renders non-scoped slots and incorrectly passes scoped-slot string prop if passing slots through multiple wrapper-components #5435

@benax-se

Description

@benax-se
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.7

Environment

Vue 2.6.14

Reproduction link

https://stackblitz.com/edit/vue2-vite-starter-apkxxz?file=package.json

Steps to reproduce

Open app, look at the Double wrapped component

What is expected?

Column header of the slot "custom-title" renders correct passed HTML (as in manually-written component at the bottom of the application page) when it`s passes through any amount of children components

Prop "text" of the slot "name" comes as string

What is actually happening?

Column header of the slot "custom-title" renders nothing and throws an error when it`s passed through 2 childs

Prop "text" of the slot "name" comes as array of chars

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