收藏
回答

关于textarea在fixed定位中文字出框的问题

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug textarea 客户端 6.7.1 2.2.5

- 当前 Bug 的表现(可附上截图)


- 预期表现

窗口底部用 position:fixed; 固定了一个评论框,点击textarea键盘拉起后,输入文字超出两行后文字就开始错位上面出现空白,下面的文字被覆盖,请问如何解决?

wxml:

<view id='footer'>
        <textarea placeholder='回复...' cursor-spacing="10" auto-height fixed show-confirm-bar="false"></textarea>
</view>

wxss:

#footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    border: 1px solid gray;
}
#footer textarea{
    margin-top: 10rpx;
    margin-bottom: 10rpx;
    border: 1px blue solid;
    border-radius: 20rpx;
}


回答关注问题邀请回答
收藏

1 个回答

  • 灵芝
    灵芝
    2018-11-05

    麻烦更新一下微信版本重新尝试

    2018-11-05
    有用
    回复
登录 后发表内容