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] tabs组件放在在dialog下,首次打开dialog时,tab标题下面的tab-bar(蓝色的条)不能正常显示。 #2505

Closed
ArthurHsing opened this issue Jun 12, 2023 · 3 comments
Labels
🐞 bug Something isn't working to be published fixed, not be published

Comments

@ArthurHsing
Copy link

tdesign-vue 版本

1.2.5

重现链接

No response

重现步骤

随便个dialog,里面放一个tabs组件。可稳定重现。

期望结果

tabs组件的tab-bar在dialog首次打开时能够正常显示。

实际结果

tabs组件的tab-bar在dialog首次打开时不能能够正常显示。

我现在是这么解决的,在打开dialog时,在nextTick里面设置当前的tab,tab-bar就会正常出来。

建议排查一下tab-bar的width的计算时机。

框架版本

vue 2.6.14

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

👋 @ArthurHsing,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

♥️ 有劳 @start940315 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @ArthurHsing

@uyarn uyarn added the 🐞 bug Something isn't working label Jun 20, 2023
@uyarn uyarn added to be published fixed, not be published and removed to be published fixed, not be published labels Jul 4, 2023
@uyarn uyarn added the to be published fixed, not be published label Jul 19, 2023
@xiaosansiji
Copy link
Collaborator

fixed in 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

3 participants