Number field bug aka bad feature
After last update there was introduced a bug to the inputs for numbers. They vary from place to place.
How it ("should") work:
1. When input get focus, number already present should be highlighted. This way one can simply enter a new number without deleting the one present. Default "1".
2. Backspace should eventually empty input box. As in: it should be completely blank if one backspace over entire input. It should _not_ reset to value "1".
As it is now it is assumed one want a number either starting or ending with 1, which usually is not the case.
One often end up with:
- Focus on input
- Enter number, for example 2, resulting in "12" or "21"
- Moving cursor in front of "1"
- Backspace
Really inconvenient. And this is something one do a lot in this game.
A couple of examples:
#1. Worst case example: "Items"
- The value in input is not highlighted on focus.
- If one "Shift+ArrowKey" selected text is not highlighted
- Backspace result in "1" as value not empty input field
Example:
1. Here "123" has been entered:
2. Here shift has been held down, and arrow-left pressed twice. (No highlighting)
3. Here "4" has been pressed, and one can see "23" was actually selected in previous point.
#2. Cumbersome and bad: "Apply RSS", "Apply boosts", "Add energy" to hero/sha, …
Here highlighting works, but:
- Default value is not highlighted on focus
- Backspace from end, deleting all input, result in "1", not empty field
Example of highlighted text:
Note: Selecting with pointer, which I do not use, but perhaps others, result in field being reset to "1"
As with last example. Say you are going to apply 5000 items … or 300, 250, 6000, 20000 - the default "1" has to be forcibly removed with multiple keystrokes.
Thanks for fixing this.