- 当前 Bug 的表现(可附上截图)
scroll-view嵌套input滑动卡顿
- 预期表现
scroll-view应当流畅
- 代码
<scroll-view scroll-y style='height: {{scrollViewHeight}}rpx;'>
<view>
<input placeholder='姓名'></input>
<input placeholder='公司'></input>
<input placeholder='Email'></input>
</view>
</scroll-view>
input {
margin: 20rpx 30rpx;
padding: 15rpx 30rpx 15rpx 30rpx;
font-size: 30rpx;
background: #fff;
border: 2rpx solid rgba(128, 128, 128, 0.3);
}
就这三个input,会导致卡顿啊,手机是 VIVO y93
原来有相同的帖子,大家看这里
https://developers.weixin.qq.com/community/develop/doc/000ee258f489d8b94c2878d575b404?highLine=scroll-view%25E5%258D%25A1%25E9%25A1%25BF