Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TabPicker 设置了默认值default-value 但是active的tab不是级联关系的最后一个 而是第一个 #488

Closed
huyaxiong opened this issue Jul 6, 2019 · 0 comments
Assignees
Labels
@Components Components related optimizing Optimize performance or experience

Comments

@huyaxiong
Copy link

huyaxiong commented Jul 6, 2019

2.3.2

OS Version & Browser Version

chrome 75.0.3770.100

Node Version, Package Management Tool

v10.16.0

Recurring Steps

TabPicker 设置了默认值default-value 但是active的tab不是级联关系的最后一个 而是第一个

Expectant Behaviors

active的tab是级联关系的最后一个比如省市区,希望打开的时候看到的是包含区信息的tab而不是第一个包含省信息的tab
image

Actual Behaviors

active的tab始终是第一个
image

xxyan0205 added a commit that referenced this issue Jul 16, 2019
1. select the tab corresponding to the last item of default-value automatically <br> 2. re-render
tabs after cancel event

#488
@xxyan0205 xxyan0205 added @Components Components related optimizing Optimize performance or experience labels Jul 16, 2019
@xxyan0205 xxyan0205 self-assigned this Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@Components Components related optimizing Optimize performance or experience
Projects
None yet
Development

No branches or pull requests

2 participants