textarea不能正常显示和输入,但是同样的样式下input就没问题
textarea
微信开发者工具预览
真机调试
view
样式
.comment{ border : 2 rpx white solid ; box-shadow: 0 rpx 0 rpx 10 rpx #888888 ; border-radius: 999 rpx; position : fixed ; bottom : 30 rpx; left : 30 rpx; overflow : hidden ; } .text{ position : relative ; padding : 20 rpx 40 rpx 20 rpx; width : 500 rpx; z-index : 99 ; } |
WXML
< view class = "comment" > < input class = "text" maxlength = "50" auto-height = "true" auto-focus = "{{autofocus}}" show-confirm-bar = "false" placeholder = "评论" > </ input > |
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)