tdesign-mobile-react icon indicating copy to clipboard operation
tdesign-mobile-react copied to clipboard

[Tabs] 当选项溢出时,滚动不流畅

Open LeeJim opened this issue 3 years ago • 3 comments

tdesign-mobile-react 版本

最新

重现链接

No response

重现步骤

当 tabs nav 选项过多溢出时,需要滚动 nav,但滚动不流畅

期望结果

滚动流畅

实际结果

滚动卡顿

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

我看代码时通过修复scrollLeft来滚动的,可以使用 translateX,然后增加 transition

LeeJim avatar Apr 18 '22 09:04 LeeJim

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

github-actions[bot] avatar Apr 18 '22 09:04 github-actions[bot]

这个 Issue 被标记为了过时 stale ,因为它已经持续 30 天没有任何活动了。删除 stale 标签或评论,否则将在 7 天内关闭。

github-actions[bot] avatar May 19 '22 05:05 github-actions[bot]

此 Issue 被自动关闭,因为它自被标记为过时 stale 以来已闲置 7 天。

github-actions[bot] avatar May 26 '22 05:05 github-actions[bot]