小程序
小游戏
企业微信
微信支付
扫描小程序码分享
这个bug是我的封装了一个评论组件,在fiexd定位区域,按文档说明给了fixed=true属性,还是出现bug,而且复现几率较大;
评论框在键盘抬起来的时候可以明显看到textarea的placeholder属性的汉字跑到了白色区域之外 也就是说textares组件发生了位置偏移,这种情况是偶尔出现 需要关闭评论组件再打开才会好 不知道怎么解决
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
机型 小米note3
微信版本号 7.0.4
系统版本号 miui 10 9.5.16
代码都是正常的写法 封装在一个组件了 有点不好复制进来
<textarea class="ratting-textarea-input" auto-focus auto-height fixed="true" cursor-spacing="60" show-confirm-bar="{{false}}" maxlength="-1" bindinput="outInputContent" placeholder="评论" />
这个textarea部分是这样的 因为所在区域为flexed 给了fixed=true属性
代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)这个格式的提供下
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
机型 小米note3
微信版本号 7.0.4
系统版本号 miui 10 9.5.16
代码都是正常的写法 封装在一个组件了 有点不好复制进来
<textarea class="ratting-textarea-input" auto-focus auto-height fixed="true" cursor-spacing="60" show-confirm-bar="{{false}}" maxlength="-1" bindinput="outInputContent" placeholder="评论" />
这个textarea部分是这样的 因为所在区域为flexed 给了fixed=true属性
代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)这个格式的提供下