scroll-view设置display flex不生效(设置了enable-flex)
发布于 5 年前 作者 tao95 12603 次浏览 来自 官方Issues

https://developers.weixin.qq.com/miniprogram/dev/component/scroll-view.html

此外,我的微信开发者工具的调试器,选择dom这块,异常的卡顿,别的地方没有异常

1 回复

<scroll-view class=“scroll-view_H” scroll-x=“true” enable-flex=“true”>设置enable-flex="true"就可以了

或者父级设置white-space:nowrap;子级设置display:inline-block;

回到顶部