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

InputNumber cursor positioning error #9193

Closed
rockwong opened this issue Jan 31, 2018 · 3 comments
Closed

InputNumber cursor positioning error #9193

rockwong opened this issue Jan 31, 2018 · 3 comments
Assignees
Labels

Comments

@rockwong
Copy link

Version

3.1.6

Environment

Mac os and Chorme 63

Reproduction link

https://ant.design/components/input-number/

Steps to reproduce

Change format the amount '$100' to '$1,200'

What is expected?

The cursor is positioned after '2'

What is actually happening?

The cursor is positioned at the end

@dengfuping
Copy link
Contributor

@rockwong It's an expected result when the input value is formatted, not an error.

@yesmeck
Copy link
Member

yesmeck commented Feb 11, 2018

@dengfuping We should improve this behavior.

@afc163
Copy link
Member

afc163 commented Mar 21, 2018

Duplicate of #9204

@afc163 afc163 marked this as a duplicate of #9204 Mar 21, 2018
@afc163 afc163 closed this as completed Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants