jQuery UI Widgets › Forums › Editors › NumberInput › Backspace repositions cursor incorrectly when the number is negative
Tagged: jqxNumberInput cursor
This topic contains 1 reply, has 2 voices, and was last updated by svetoslav_borislavov 6 months, 2 weeks ago.
This issue can be reproduced on the demo page for the number input: https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxnumberinput/index.htm
Steps to reproduce:
1. Enter a large negative number, e.g. -123456
2. Position your cursor at the a point in the number that isn’t the second to last
3. Press backspace
Expected: The number before the cursor will be deleted and the cursor will stay where it was, like it does when the number is positive
Error: The number before the cursor is deleted, but then the cursor will now always be at the second to last position.
Thank you for reporting that! I have opened an issue for this.
Should you have any questions, do not hesitate to contact us!
You must be logged in to reply to this topic.