Skip to content

child component is not re-rendered when prop is updated from parent AND no default slot is provided #1206

Closed
@lzhoucs

Description

@lzhoucs

Version

3.0.0-beta.14

Reproduction link

https://codepen.io/lzhoucs/pen/GRpwwwK

Steps to reproduce

What is expected?

The tab clicked should render its active prop as true

What is actually happening?

The tab renders its initial active prop value false and never re-renders after being clicked


The code is in the demo is from the last state of #1186 with slight variation. To summarize:

The only difference between the two demos above is the default slot. e.g:

    <tab href="#tab1"></tab>

vs

    <tab href="#tab1">foo</tab>

Metadata

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