-
-
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] IndexBar 索引栏与overflow: auto;冲突 #4252
Comments
尝试了下 |
抱歉,我在码云没交费,所以“代码片段功能目前只支持私有”,访问受限。已转发到百度网盘,请查收! |
原因说明由于 建议如果是使用 特性支持后续会考虑 |
谢谢您的耐心解答!至于您的建议:“如果是使用 建议不要嵌套在滚动元素中使用”,窃以为既然是索引,那就肯定不只是一屏内容,就必然需要滚动显示了...... |
已在 |
请问有计划吗 |
这样就无法嵌套在弹出层了,这是一个很常见的需求,以弹出层的方式展示索引。 |
设备
iPhone6s
VantWeapp 版本
1.6.1
基础库版本
2.14.0
请提供核心代码片段链接
https://gitee.com/odysseyzhang/codes/cog2f45twvh6a1s089lpk96
描述问题
“vant-weapp/#/index-bar基础用法
点击索引栏时,会自动跳转到对应的IndexAnchor锚点位置。”
问题是只要在wxss中将页面设置为overflow: auto; 之后再点击索引栏,则没有反应,即索引栏失效。
用微信开发者工具或者iPhone6s真机调试都是如此。
Vant的IndexBar 索引栏则不存在这个问题。
The text was updated successfully, but these errors were encountered: