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] 可滑动的选项卡,动态修改选项卡数量导致滑动按钮不符合预期 #3510

Closed
ry0513 opened this issue Oct 23, 2023 · 3 comments · Fixed by #3517
Closed
Assignees
Labels
to be published to be published

Comments

@ry0513
Copy link

ry0513 commented Oct 23, 2023

tdesign-vue-next 版本

可以复现

重现链接

https://stackblitz.com/edit/rhwuut?file=src%2Fdemo.vue

重现步骤

动态修改选项卡数量时会导致滑动按钮显示时机不对,通过点击数量按钮复现,多变少时会出现滑动按钮,少变多时按钮会消消失

期望结果

期望结果希望符合预期,数量多的时候显示滑动按钮数量,数量少的时候不显示

实际结果

通过点击数量按钮复现,多变少时会出现滑动按钮,少变多时按钮会消消失

框架版本

v3.3.4

浏览器版本

118.0.5993.89(64 位)

系统版本

win11 H22

Node版本

v18.18.0

补充说明

场景:左边为Menu主菜单,右边Tabs为子菜单,点击切换主菜单时会动态改变子菜单数量

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2023

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

@uyarn uyarn added the to be published to be published label Oct 24, 2023
@uyarn uyarn reopened this Oct 24, 2023
@uyarn uyarn closed this as completed Nov 1, 2023
@uyarn
Copy link
Collaborator

uyarn commented Nov 1, 2023

fixed in 1.6.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published to be published
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants