Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

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

@kevin611003

Description

@kevin611003

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行的问题

Metadata

Metadata

Labels

@ComponentsComponents relatedbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions