textarea行末断句问题(IOS中)

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

textarea放在fixed的view中,使用auto-height时,其中行末的拼音输入会中断。

<view class="footer">

    <textarea auto-height="{{true}}" maxlength="{{-1}}" fixed="{{true}}" class="input-msg">

   </textarea>

</view>

.footer{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 15rpx;
  background-color: #cccccc;
 
  .input-msg{
    border: 1rpx solid black;
    height: 66rpx;
    padding: 15rpx 6rpx;
  }
}

效果如图:

测试机型信息:

3 回复
guiyingchen
guiyingchen1 楼6 年前

@A 大白, 好的谢谢!

lichao
lichao2 楼6 年前

@开心就好。没办法,改用input了。。。

taoming
taoming3 楼5 年前

兄弟, 有解决办法没? 我也遇到同样的问题了.