ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
90.42k stars 46.41k forks source link

Tabs组件“更多按钮”无限闪现 #48678

Open mrdulin opened 2 weeks ago

mrdulin commented 2 weeks ago

Reproduction link

Edit on StackBlitz

Steps to reproduce

不需要额外操作

What is expected?

更多按钮应该是隐藏状态

What is actually happening?

“更多”按钮无限闪现,导致整体宽度一直变化

Environment Info
antd 4.24.16
React 18.3.1
System windows 10
Browser Edge 124.0.2478.51
stackblitz[bot] commented 2 weeks ago

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

yyz945947732 commented 1 week ago

https://github.com/ant-design/ant-design/issues/46910

https://github.com/ant-design/ant-design/issues/46198

wanpan11 commented 1 week ago

这个例子是v4的,v5里这例子是正常的 v4 已经停止维护了,可以试试升级到v5 https://ant.design/docs/blog/v4-ood-cn

image