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

flex 布局下 card tabs 加载异常 #48775

Open
KewenCode opened this issue May 5, 2024 · 6 comments
Open

flex 布局下 card tabs 加载异常 #48775

KewenCode opened this issue May 5, 2024 · 6 comments
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@KewenCode
Copy link

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.构建页签内含icon的card
2.使用flex包裹

What is expected?

正常显示

What is actually happening?

页签不正常闪动

Environment Info
antd 5.17.0
React 18
System win10
Browser Edge124.0.2478.80

触发条件:
1、不设定card宽度
2、有两个带icon页签
3、在flex包裹下

@wanpan11
Copy link
Contributor

wanpan11 commented May 6, 2024

你这个demo看不出有啥问题,可以提供下视频撒的

@KewenCode
Copy link
Author

你这个demo看不出有啥问题,可以提供下视频撒的

PixPin_2024-05-06_10-31-23
gif反应的闪动速度比较慢,实际显示的时候闪动很快

@afc163 afc163 changed the title flex布局下card加载异常 flex 布局下 card tabs 加载异常 May 6, 2024
@wanpan11
Copy link
Contributor

wanpan11 commented May 6, 2024

看着像是 tabs 的问题

@afc163
Copy link
Member

afc163 commented May 6, 2024

Duplicate of #48678

@afc163 afc163 marked this as a duplicate of #48678 May 6, 2024
@wanpan11
Copy link
Contributor

wanpan11 commented May 7, 2024

@KewenCode 你的例子里 antd 是 v4 还是 v5 呢

@KewenCode
Copy link
Author

@KewenCode 你的例子里 antd 是 v4 还是 v5 呢

最新V5.17.0

@MadCcc MadCcc added 🐛 Bug Ant Design Team had proved that this is a bug. and removed unconfirmed labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

4 participants