swiper标签里放置多行输入框auto-focus属性,页面卡在中间

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

<swiper class=‘swiper’ bindchange=‘swiperChange’ current=‘{{currentTab}}’>

<swiper-item>

<scroll-view scroll-y=‘true’ style=‘height:100%’>

<view class=“firstPage”>Taurus</view>

</scroll-view>

</swiper-item>

<swiper-item>

<scroll-view scroll-y=‘true’ style=‘height:100%’>

<textarea auto-focus placeholder=“填写您的答案…”></textarea>

</scroll-view>

</swiper-item>

</swiper>

page{
  width: 100%;
  height: 100%;
}
.swiper{
  margin: 2%;
  width: 96%;
  height: 90%;
}
scroll-view{
  margin-bottom: 80rpx;
}
.firstPage{
  text-align: right
}
WXOPEN Club 内容图片

1 回复
chao96
chao961 楼5 年前

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html