jd-opensource / jd-opensource/taro-ui

Indexes 索引选择器 h5点击索引跳到对应位置 不生效,微信需要点俩次才生效,并不是没有高度的问题。

Open
#1,264 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

代码如下 list就是数据 就不贴了 格式如官网 onScrollIntoView h5 不生效 微信小程序 需要先点到下面或者点多次生效 我也看到过有人提过微信小程序的问题 但是并没有解决


{ this.scrollIntoView = fn }}
>


style 如下 是有高度的 100vh 也试过 下面俩个元素是 AtIndexes 的俩个父元素
.carmodel {
height: 100%;
width: 100%;
background: #4C64FE;
padding: 20px 0 0;
box-sizing: border-box;

.content {
padding: 56px 24px 0;
box-sizing: border-box;
height: 100%;
background: #fff;
border-radius: 60px 60px 0 0;
}
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.