scroll-into-view 存在的问题

发布于 7 年前作者 fengyong13249 次浏览最后编辑 7 年前来自 ask

视图容器scroll-view

scroll-into-viewString
值应为某子元素id,则滚动到该元素,元素顶部对齐滚动区域顶部
<scroll-view class="scroll-view_H"  scroll-into-view="xx" scroll-x="true" style="width: 100%">

scroll-into-view这个代码应该要自动选择 xx ,如果加了class=“scroll-view_H”

scroll-into-view无效

.scroll-view_H{

  white-space: nowrap;

}


0 回复
暂无回复