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

[BUG] Tabs 中通过 tab API 传入 Radio/Checkbox,选中样式异常 #1615

Closed
1 task done
YyumeiZhang opened this issue May 19, 2023 · 0 comments · Fixed by #1616
Closed
1 task done

[BUG] Tabs 中通过 tab API 传入 Radio/Checkbox,选中样式异常 #1615

YyumeiZhang opened this issue May 19, 2023 · 0 comments · Fixed by #1616

Comments

@YyumeiZhang
Copy link
Collaborator

Is there an existing issue for this?

  • I have searched the existing issues

Which Component

Tabs

Semi Version

2.35.0

Current Behavior

image

Expected Behavior

image

Steps To Reproduce

No response

ReproducibleCode

import React from 'react';
import { Tabs, TabPane } from '@douyinfe/semi-ui';

() => (
    <div>
       <Tabs type="line">
        <TabPane tab={<Radio defaultChecked>test2</Radio>} itemKey="1">
          用于测试 tab 下的 Radio 中的 semi-icon 是否收到影响
        </TabPane>
        <TabPane tab={<Checkbox defaultChecked>test2</Checkbox>} itemKey="2">
          用于测试 Checkbox 下的 Radio 中的 semi-icon 是否收到影响
        </TabPane>
    </Tabs>
    </div>
);

Environment

- OS:
- browser:

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant