1***@qq.com
1***@qq.com
  • 发布:2023-12-14 11:02
  • 更新:2023-12-14 11:02
  • 阅读:199

H5 中input bug;

分类:uni-app

产品分类: uniapp/H5

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win11

HBuilderX类型: 正式

HBuilderX版本号: 3.98

浏览器平台: 微信内置浏览器

浏览器版本: 微信公众号打开

项目创建方式: HBuilderX

操作步骤:
<template>  
    <view style="display: flex;flex-direction: column;">  
        <input type="text" id="A" style="width: 100%;background: red;"></input>  
        <input type="password" id="B" style="width: 100%;background: red;  
        margin-top: 50rpx;"></input>  
    </view>  
</template>  

<script>  
</script>  
<style lang="scss">  

</style>

id=B的控件设置了type="password"

会导致id="A"的控件 拉起来的软键盘是密码输入格式,

此bug只在iphone手机上能复现,android和鸿蒙系统无此问题。
在iphone 微信内置浏览器打开有此问题,Safari中没有

预期结果:

input正常拉起对应模式的软键盘

实际结果:

input不能正常拉起对应模式的软键盘

bug描述:

H5 中input bug;
详细描述:

<input type="text" id="A" style="width: 100%;background: red;"></input>  

<input type="password" id="B" style="width: 100%;background: red;margin-top: 50rpx;"></input>

id=B的控件设置了type="password"

会导致id="A"的控件 拉起来的软键盘是密码输入格式,

此bug只在iphone手机上能复现,android和鸿蒙系统无此问题。

在iphone 微信内置浏览器打开有此问题,Safari中没有

2023-12-14 11:02 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复