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 scrollLeft 多数据时后面选中后滚动距离不对 #4202

Closed
fanmucc opened this issue May 11, 2021 · 1 comment · Fixed by #4221
Closed

Tabs scrollLeft 多数据时后面选中后滚动距离不对 #4202

fanmucc opened this issue May 11, 2021 · 1 comment · Fixed by #4221

Comments

@fanmucc
Copy link

fanmucc commented May 11, 2021

你好,请使用下面的链接创建 issue 以帮助我们更快的排查问题,不规范的 issue 会被关闭,感谢配合。

http://vant-contrib.gitee.io/vant-issue-generater?repo=VantWeapp

当van-tab数据多时,则选中最后几条会出现 scrollLeft位置不对。 log了计算的位置是正确的 但是并没有滚动到相应的位置。
前面的数据不受影响

@Spikef
Copy link

Spikef commented Jun 30, 2021

修复之后组件从隐藏状态切换到显示状态时,底部条位置错误的修复方案不好使了

https://vant-contrib.gitee.io/vant-weapp/#/tab#zu-jian-cong-yin-cang-zhuang-tai-qie-huan-dao-xian-shi-zhuang-tai-shi-di-bu-tiao-wei-zhi-cuo-wu

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

Successfully merging a pull request may close this issue.

2 participants