Fix for the cursor issue that jumps to the end while typing in the string input and number input components.
To recreate the bug: In the Input field (String/Number input), where there is pre-existing text, attempt to add/update a character/number in the middle of the text. When a single character is typed, the cursor automatically moves to the end of the text/number.
Bug Fix: Code changed to ensure that the cursor maintains its position where the user clicks on the text/number for editing, adding, or deleting characters/numbers, respectively.
Changes were tested in Android (Samsung S20 - Chrome), iPad (Safari and Chrome) and MacBook (Chrome & Safari)
Fix for the cursor issue that jumps to the end while typing in the string input and number input components.
To recreate the bug: In the Input field (String/Number input), where there is pre-existing text, attempt to add/update a character/number in the middle of the text. When a single character is typed, the cursor automatically moves to the end of the text/number.
Bug Fix: Code changed to ensure that the cursor maintains its position where the user clicks on the text/number for editing, adding, or deleting characters/numbers, respectively.