Skip to content

[Bug 上报] wd-input 组件 readonly 时,会触光标聚焦。 #533

@Bourne115

Description

@Bourne115

Wot Design Uni 版本号

1.3.8

平台

微信小程序

复现Demo地址

https://github.com/Moonofweisheng/wot-design-uni/issues/new?assignees=&labels=%F0%9F%90%9Ebug%3A+need+confirm&projects=&template=1-bug-report.yml&title=%5BBug+%E4%B8%8A%E6%8A%A5%5D+%E8%AF%B7%E5%9C%A8%E6%AD%A4%E5%A1%AB%E5%86%99%E6%A0%87%E9%A2%98

重现步骤

image
在 ios 真机上能复现,在微信开发者工具模拟器上是正常的。

期望的结果是什么?

readonly时,点击input组件不会触发光标聚焦,并且不能修改 input 的内容

实际的结果是什么?

readonly时,点击input组件会触发光标聚焦,并且能修改 input 的内容。

环境信息

发行平台: 微信小程序
操作系统:IOS 17.2.1
uni-app版本 3.0.0-alpha-4010520240507001
设备信息 iphone12

其他补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions