scroll-view的弹性盒布局问题?enable-flex属性影响触底事件?

发布于 8 年前作者 xiuying1310419 次浏览最后编辑 8 年前来自 issues

scroll-view默认不支持flex弹性盒,有个属性enable-flex,这个属性打开以后就可以使用flex布局。

但是!!!

enable-flex 此属性打开以后,scroll-view的 bindscrolltolower(触底事件)失效,小伙伴们有没有遇到相同的问题,想用scroll-view的触底事件,但是还想flex布局?有没有什么好的办法?

尝试在scroll-view里面套一层view作为子元素使用flex,同样 bindscrolltolower(触底事件)失效。

1 回复
gaojuan
gaojuan1 楼6 年前

麻烦提供能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html