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指定active问题 #195

Closed
swift-fs opened this issue Mar 4, 2022 · 0 comments
Closed

tabs指定active问题 #195

swift-fs opened this issue Mar 4, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@swift-fs
Copy link

swift-fs commented Mar 4, 2022

您提出的功能是否和您遇到的问题有关,请描述该问题
tabs组件,我设置了有10个tab;然后我从另一个页面跳转过来,并设置tab的下标为8,也就是tabs的属性active设置为8;然后其实tabs并没有滚动到我指定的这个tab上,显示效果上就是再屏幕外,没看到。

您是否有建议的实现方案
我刚看了一些源码,是不是设置active的时候,也要scrollIntoView这样。

@swift-fs swift-fs changed the title tabs tabs指定active问题 Mar 4, 2022
zuolung pushed a commit that referenced this issue Mar 4, 2022
@zuolung zuolung added the bug Something isn't working label Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants