Skip to content

[input] skylint模式下,小数类型的输入框的光标不显示且不可操作 #3610

@xiguazhiPrince

Description

@xiguazhiPrince

tdesign-miniprogram 版本

latest

重现链接

https://developers.weixin.qq.com/s/sVe21EmP7nZ3

重现步骤

开发工具:nightly 1.06.XXXXXXXX

项目运行

npm i
构建npm

如gif图,可以看到首页的输入框,光标不可在数字中间选中、移动。但是如果鼠标点击中间,实际上光标已经在中间了,然后就可以删除中间数字。

在手机端预览时,该问题会更明显。甚至看不到首尾光标。

Image

我用Tdesign的实例小程序,转到skyline模式,看到是正常的,是不是因为官方示例其实没有在skyline模式下运行~~~

期望结果

skyline模式下和webview模式下的效果光标效果一样

实际结果

如gif图,可以看到首页的输入框,光标不可在数字中间选中、移动。但是如果鼠标点击中间,实际上光标已经在中间了,然后就可以删除中间数字。

在手机端预览时,该问题会更明显。甚至看不到首尾光标。

Image

我用Tdesign的实例小程序,转到skyline模式,看到是正常的,是不是因为官方示例其实没有在skyline模式下运行~~~

基础库版本

No response

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThis is a question, not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions