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 选项卡 数量多横向切换滚动位置bug #2930

Open
zxxxxxxxxxxx opened this issue Jan 9, 2025 · 1 comment
Open

Tabs 选项卡 数量多横向切换滚动位置bug #2930

zxxxxxxxxxxx opened this issue Jan 9, 2025 · 1 comment
Assignees

Comments

@zxxxxxxxxxxx
Copy link

NutUI React 包名

@nutui/nutui-react

NutUI React 版本号

2.7.5

平台

weapp

重现链接

https://nutui.jd.com/taro/react/2x/#/zh-CN/component/tabs

重现步骤

官方案例 -> [数量多,滚动操作] -> 继续加多几条数据 -> 点击切换tab

期望的结果是什么?

tab切换时滚动条从末端回到首端时, 应该能够预览到前方还有tab, 而不是需要手动滑动tab才能看到

实际的结果是什么?

目前的tab切换滚动条位置是保留在当前选中的tab位置, 并没有多出预览tab的位置, 切换tab滚动位置体验不友好, 需要手动滑动才能知道是否还有tab

环境信息

No response

其他补充信息

No response

@conorzhong
Copy link
Contributor

#2923

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

3 participants