html52.com
我爱小程序-开发者交流社区

fidxed定位无法覆盖textarea组件

问题模块 框架类型 问题类型 API/组件名称 终端类型 操作系统 微信版本 基础库版本
API和组件 小程序 Bug textarea 客户端 Android 6.6.7 2.2.2

代码片段:wechatide://minicode/QhlxexmX7C1B

如图,红色部分使用fixed定位后,在开发者工具中正常显示,但在安卓手机上无法遮盖textarea组件

z-index属性无效

开发者工具中:

开发者工具中:安卓手机中:

安卓手机中:

安卓手机中:代码片段wechatide://minicode/QhlxexmX7C1B

网友回复

nickname:

你好,楼上正解,请参考文档:https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html

tps://developers.weixin.qq.com/miniprogram/dev/component/textarea.htmlA-壮娃子:textarea层级是最高的。

A-壮娃子:

textarea层级是最高的。

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付