Skip to content

slots not re-rendering while passing $scopedSlots to children #13066

Open
@woshiguabi

Description

Version

2.7.14

Reproduction link

codesandbox.io

Steps to reproduce

Click the change button

What is expected?

slot re-rendering

What is actually happening?

slot not re-rendering


To reproduce this issue, two conditions must be met

  1. Both slot and scopedSlot are passed to the parent component
  2. The parent component passes $scopedSlots to the child component

After deconstructing $scopedSlots this issue resolved, but this issue is important for library developers because passing $scopedSlots is a very common usage.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions