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

TabBar标签较多时,v-model绑定最后一个标签,里面scroll-view未滚动到最右边 #434

Closed
kevin611003 opened this issue May 1, 2019 · 4 comments
Assignees
Labels
bug Something isn't working @Components Components related

Comments

@kevin611003
Copy link

Mand Mobile Version

^2.2.0

OS Version & Browser Version

win 10 & chrome v72

Recurring Links

https://codesandbox.io/s/qvxky1xym9

Recurring Steps

当标签个数较多,tabbar宽度大于当前屏幕宽度,设置当前current为最后一个标签

Expectant Behaviors

tabbar会滚动到最右边

Actual Behaviors

tabbar未滚动到最右边

初步检查是components\tab-bar\index.vue213行的问题

@xxyan0205
Copy link
Collaborator

fixed@2.2.3

@kevin611003
Copy link
Author

@xxyan0205 我这边升级到 2.2.3 后还是有bug,当 items 个数为11,label 长度6位,tabbar 位置没有滚动到最右边
Recurring Link: https://codesandbox.io/s/7zvs9

@xxyan0205
Copy link
Collaborator

当 items 个数为11,label 长度6位,tabbar 位置没有滚动到最右边

试下2.2.4

@kevin611003
Copy link
Author

测试正常,大神辛苦了 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working @Components Components related
Projects
None yet
Development

No branches or pull requests

3 participants