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组件取消space-evenly后标签栏无法滚动 #2030

Closed
silence1996 opened this issue May 23, 2023 · 2 comments
Closed

tabs组件取消space-evenly后标签栏无法滚动 #2030

silence1996 opened this issue May 23, 2023 · 2 comments

Comments

@silence1996
Copy link

tdesign-miniprogram 版本

1.1.6

重现链接

No response

重现步骤

<t-tabs defaultValue="{{0}}" space-evenly="{{false}}"> <t-tab-panel wx:for="{{8}}" wx:key="index" label="选项" value="{{index}}" /> </t-tabs>

期望结果

取消space-evenly后,组件超过一定数量后标签栏可以滚动

实际结果

无法滚动

基础库版本

2.19.4

补充说明

应该是tabs组件的标签栏的sticky组件没有设定铺满,直接修改样式width: 100%为后发现,点击标签能对应滚动居中,但是滑动的时候整个标签栏会出现莫名奇妙的跳动

@github-actions
Copy link
Contributor

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

@LeeJim
Copy link
Collaborator

LeeJim commented May 30, 2023

应该是 sticky 的问题,已经修复了。参见 #2047

@LeeJim LeeJim closed this as completed May 30, 2023
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