Closed
Description
Version
3.0.0-beta.14
Reproduction link
https://codepen.io/lzhoucs/pen/GRpwwwK
Steps to reproduce
- Go to: https://codepen.io/lzhoucs/pen/GRpwwwK
- Click on one of the two tabs
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:
- When default slot is not provided, it is not working: https://codepen.io/lzhoucs/pen/GRpwwwK
- When default slot is provided, it is working: https://codepen.io/lzhoucs/pen/PoPxxyw
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
Labels
No labels