pnnl / Quality-Install-Tool

BSD 2-Clause "Simplified" License
1 stars 1 forks source link

125 input cursor jumps to end while typing #130

Closed sudhacheran closed 1 year ago

sudhacheran commented 1 year ago

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.

charliepnnl commented 1 year ago

GitHub seems to not be recognizing my approval. So I will bypass the review requirement and merge it in myself.