Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[t-input] ios实机不显示光标 #3383

Open
Monecone opened this issue Dec 23, 2024 · 2 comments
Open

[t-input] ios实机不显示光标 #3383

Monecone opened this issue Dec 23, 2024 · 2 comments
Labels
question This is a question, not a bug

Comments

@Monecone
Copy link

tdesign-miniprogram 版本

1.8.2

重现链接

No response

重现步骤

在 iPhone 15 / ios 18.2 实机中,点击input弹出键盘但是光标不显示
我尝试其它几个型号的 iPhone 实机也不显示光标

我尝试删除以下几个方法,然后光标就能显示了
miniprogram_npm > tdesign-miniprogram > input > input.wxml

<input focus="{{focus}}"
 cursor="{{cursor}}"
 auto-focus="{{autoFocus}}"
 cursor-color="{{cursorColor}}"
 cursor-spacing="{{cursorSpacing}}"
/>

期望结果

No response

实际结果

No response

基础库版本

3.6.4

补充说明

No response

Copy link
Contributor

👋 @Monecone,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao
Copy link
Collaborator

anlyyao commented Dec 23, 2024

@Monecone hello, 该问题应该在 1.8.0 版本中做了修复,理论上版本号大于等于 1.8.0 光标都会正确显示,辛苦确认一下组件库版本号。

另外,从你贴的部分代码来看和现在的 1.8.2 版本内容不一致。1.8.2版本,t-input 部分源码如下:

cursor-color="{{cursorColor || defaultCursorColor}}"

@anlyyao anlyyao added the question This is a question, not a bug label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
None yet
Development

No branches or pull requests

2 participants