textarea组件聚焦内容无法上下滑动
https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html
textarea设置了初始高度,都输入内容超过初始高度时,键盘聚焦输入内容无法上下滑动
<view class="auth-reason-text-reason">
<textarea class="auth-reason-text-box"
placeholder="请填写您的建议"
placeholder-class="input_placeholder"
bindinput="handleInputReason"
value="{{otherReason}}"
cursor-spacing="150"
show-confirm-bar="{{false}}"
disable-default-padding
maxlength="{{-1}}">
</textarea>
</view>
&-reason{
position: relative;
height: 204rpx;
width: 622rpx;
padding: 16rpx;
background: rgba(0, 0, 0, 0.02);
border-radius: 8rpx;
border: 2rpx solid #D2D2D2;
box-sizing: border-box;
}
&-box{
position: relative;
width: 588rpx;
height: 172rpx;
box-sizing: border-box;
font-size: 30rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #353535;
line-height: 42rpx;
}