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标签组件为什么一直闪动 #7916

Closed
1 task done
workCleaner opened this issue Nov 5, 2024 · 2 comments
Closed
1 task done

tabs标签组件为什么一直闪动 #7916

workCleaner opened this issue Nov 5, 2024 · 2 comments

Comments

@workCleaner
Copy link

workCleaner commented Nov 5, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.7

Environment

node v16.20、vue v2.5.17

Reproduction link

Edit on CodeSandbox

Steps to reproduce

当我设置tabs长度为50%,对应每个tabs之间有一定的margin就导致一直闪动

What is expected?

我大致知道是组件内部做出的计算,导致margin意外触发了这个bug。我需要的是如何把tabs居中且占满全部的剩余宽度,有没有更好的办法

What is actually happening?

界面展示正常但是会一直闪动

@selicens
Copy link
Member

selicens commented Nov 8, 2024

image

@workCleaner
Copy link
Author

图像

感谢

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

No branches or pull requests

2 participants