Replies: 2 comments
-
复现链接供讨论:https://codesandbox.io/s/vant-3-issue-template-forked-bxp4k2?file=/src/App.vue |
Beta Was this translation helpful? Give feedback.
0 replies
-
负 margin 的问题是 100% 会导致滚动条溢出,这也意味着,如果我们要采取额外的兼容方案,每一个使用 gutter 的用户都需要采用该方案才能避免滚动条溢出问题。 我觉得我们可以先探讨下有什么低成本(最好是使用者不感知)的方式可以解决滚动条溢出,如果有合适的方案,我们可以考虑切换回负 margin 方案的。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
重现链接
无
Vant 版本
vant 4
描述一下你遇到的问题。
今天又用到了这个组件,说下自己的感受:
当我一排有多个,有多排,最后一排又不确定个数的情况下,处理对齐需要借助
js
计算了,而如果只是滚动条问题,则容易解决一些...关联pr #11639
重现步骤
无
设备/浏览器
No response
Beta Was this translation helpful? Give feedback.
All reactions