-
-
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] 自己封装了scroll-view实现了上拉加载下拉更新的功能,在里面嵌套了van-tabs,设置了sticky无效。 #5283
Labels
Comments
可以参考van-sticky组件在scrollview组件里面的使用。 可能的原因是scroll-view组件开启refresh容器高度变了造成sticky失效 |
可以提供一个复现代码片段过来吗? |
我也遇到了, 文档提供的代码无效
|
该issue 在vant-weapp2.0 解决 |
Open
这样写试试 scroll-view里面再嵌套一层view |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
重现链接
Vant Weapp 版本
1.0.14
描述一下你遇到的问题。
自己封装了scroll-view实现了上拉加载下拉更新的功能,在里面嵌套了van-tabs,设置了sticky无效。
重现步骤
1.整个页面滑动,当滑动到tabs时,sticky固定不了。
设备/浏览器
No response
The text was updated successfully, but these errors were encountered: