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

Tab 左侧展示时出现闪烁情况 #46198

Open
yyz945947732 opened this issue Dec 1, 2023 · 2 comments
Open

Tab 左侧展示时出现闪烁情况 #46198

yyz945947732 opened this issue Dec 1, 2023 · 2 comments
Labels
improvement improve some features Inactive

Comments

@yyz945947732
Copy link
Contributor

yyz945947732 commented Dec 1, 2023

Reproduction link

https://codepen.io/yyz945947732/pen/xxMjjvZ?editors=0010

Steps to reproduce

Tabs 组件在设置 tabPosition="left" 后,不固定高度的情况下,底部 icon 有可能出现不断切换显示隐藏的状态。

根据浏览器分辨率不同可能出现这种情况,并都可以通过缩放浏览器到某个比例复现出来。

image
iShot_2023-12-01_11.16.49.mp4
iShot_2023-12-01_14.12.23.mp4

What is expected?

不出现闪烁的情况。

What is actually happening?

出现闪烁的情况。

Environment Info
antd 5.11.5
React 无关
System 无关
Browser 116.0.5845.110
@yyz945947732 yyz945947732 changed the title Tab 左侧展示时在不同系统下展示不一致 Tab 左侧展示时出现闪烁情况 Dec 1, 2023
@MadCcc
Copy link
Member

MadCcc commented Dec 1, 2023

缩放导致的精度问题

@MadCcc MadCcc added improvement improve some features and removed unconfirmed labels Dec 1, 2023
@yyz945947732
Copy link
Contributor Author

#39079

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

No branches or pull requests

2 participants