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

[Tabs] 点击相同 Tab 会触发 onChange #208

Closed
shijiatongxue opened this issue Nov 5, 2021 · 0 comments · Fixed by #284
Closed

[Tabs] 点击相同 Tab 会触发 onChange #208

shijiatongxue opened this issue Nov 5, 2021 · 0 comments · Fixed by #284
Assignees
Labels
bug Something isn't working 🛠 Work In Progress Someone is working on this issue

Comments

@shijiatongxue
Copy link
Collaborator

Which Component 出现bug的组件

  • Tabs

semi-ui version

  • latest

Expected result 期望的结果是什么

  • 点击 Tab 时,如果没有切换 Tab 而是点击当前 Tab,不需要触发 onChange

Steps to reproduce 复现步骤

  • 非受控的 Tabs,点击相同的 Tab,会触发 onChange
@shijiatongxue shijiatongxue added the bug Something isn't working label Nov 5, 2021
@zwlafk zwlafk added the 🛠 Work In Progress Someone is working on this issue label Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🛠 Work In Progress Someone is working on this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants