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

聚焦input最右侧的内容时,光标被clear按钮遮挡 #6728

Open
CoCoManYY opened this issue Aug 27, 2024 · 3 comments
Open

聚焦input最右侧的内容时,光标被clear按钮遮挡 #6728

CoCoManYY opened this issue Aug 27, 2024 · 3 comments

Comments

@CoCoManYY
Copy link

Version of antd-mobile

5.37.1

Description

复现地址:https://codesandbox.io/p/sandbox/youthful-hill-9y4k3f?file=%2Fapp.tsx%3A3%2C42
复现视频:
20240827155759_rec_

@Layouwen
Copy link
Contributor

看了一下这个不是遮挡, 只是没滚动到底部. 你 focus 后, input 是可以移动到最后字符的位置的.

@CoCoManYY
Copy link
Author

嗯嗯是的,光标没在视图里,滚动到后面了。这种情况下有考虑自动把光标移动到可视范围吗?

@Layouwen
Copy link
Contributor

嗯嗯是的,光标没在视图里,滚动到后面了。这种情况下有考虑自动把光标移动到可视范围吗?

好像不太好设计这个交互。有时候用户就是要编辑前面的内容,自动滚动最后会很别扭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants