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

a-model 里面 a-input 删除中间文本光标跳走 #2207

Closed
1 task
RootHJY opened this issue May 7, 2020 · 3 comments
Closed
1 task

a-model 里面 a-input 删除中间文本光标跳走 #2207

RootHJY opened this issue May 7, 2020 · 3 comments
Labels

Comments

@RootHJY
Copy link

RootHJY commented May 7, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.5.4

Environment

vue^2.6.10 ant-design-vue^1.5.4 chrom81.0.4044.113

Reproduction link

https://roothjy.github.io/

Steps to reproduce

ant-design-vue^1.5.4 a-modal 弹框组件中创建一个a-form表单元素 创建一个<a-input v-decorator="[ 'name'] >文本框元素
在文本框中输入文字 将鼠标移动到文本中间 删除文本 光标跳到最后

What is expected?

光标不要跳到最后

What is actually happening?

光标跳到最后

@zhikeye
Copy link

zhikeye commented May 8, 2020

我也遇到了同样的问题,只要在a-model里的表单组件更新值后光标都会跳到最后,请问您是怎么解决这个问题的?

@zlf-1996
Copy link

zlf-1996 commented Oct 9, 2020

1.5.5版本更新后,解决了这个问题

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants