Ant-design: InputNumber cursor positioning error

Created on 31 Jan 2018  ·  3Comments  ·  Source: ant-design/ant-design

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

Inactive

Most helpful comment

@dengfuping We should improve this behavior.

All 3 comments

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

@dengfuping We should improve this behavior.

Duplicate of #9204

Was this page helpful?
0 / 5 - 0 ratings