syczuan
syczuan
  • 发布:2023-08-25 15:29
  • 更新:2023-08-25 15:29
  • 阅读:93

【报Bug】三星手机使用editor组件输入内容时placeholder提示无法隐藏

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: Windows 11 专业版 22H2

HBuilderX类型: 正式

HBuilderX版本号: 3.8.12

手机系统: Android

手机系统版本号: Android 13

手机厂商: 三星

手机机型: Galaxy S21 SM-G991U

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
<editor  
            @input="editorInput"  
            placeholder="Please enter the content"  
            ref="editors"  
          ></editor>

操作步骤:

1.使用三星键盘,先不输入任何内容,切换为英文输入法,开启候选词输入
2.随便输入英文后不点击确认候选词

预期结果:

editor框中只要存在内容就隐藏placeholder提示,并且@input能被触发

实际结果:

placeholder提示无法隐藏,@input无法触发,如果点击确认候选词,placeholder提示就会隐藏,@input被触发,并且后续清空内容重新操作也没问题

bug描述:

1.使用三星键盘,先不输入任何内容,切换为英文输入法,开启候选词输入
2.随便输入英文后不点击确认候选词,placeholder提示无法隐藏,@input无法触发
3.如果点击确认候选词后,placeholder提示就会隐藏,@input被触发,并且后续清空内容重新操作也没问题

  1. 控制台会出现报错
    [WARNING] :Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead. at __uniappquill.js:7

    目前只发现三星手机存在这个问题

2023-08-25 15:29 负责人:无 分享
已邀请:

要回复问题请先登录注册