-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Bug Report] tab标签组件在使用动态数据时,第一个选中状态的下标线会偏移到最左侧 #5135
Labels
Comments
jirentech
changed the title
[Bug Report] 请在此填写标题
[Bug Report] tab标签组件在使用动态数据时,第一个选中状态的下标线会偏移到最左侧
Dec 9, 2022
动态数据?怎么样使用动态数据,可以参考 https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html 提供代码片段协助定位问题 |
动态数据就是使用网络请求获取到的数据 |
提供一个小程序代码片段吧,网络请求可以用 setTimeout 模拟 |
|
问题已定位到,this.selectComponent('#xxx').resize() 可以临时解决,后续会修复 |
This was referenced May 18, 2023
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
重现链接
<van-tabs swipeable sticky :active="active" @change="onChange">
链接
Vant Weapp 版本
v1.10.7
描述一下你遇到的问题。
[tab标签组件在使用动态数据的时候,默认的active,即第一个选择状态的下标线会偏移到最左侧]
重现步骤
tab标签组件在使用动态数据(动态数据通过网络请求获得)的时候,即第一个选中状态的下标线会偏移到最左侧
设备/浏览器
微信开发者工具,安卓手机
The text was updated successfully, but these errors were encountered: