Reproduction steps:
- Go to an experience in the universal-app and either upvote it or downvote it.
- Press on the “Give feedback” button in-order to have the modal appear.
- Type in a string into the feedback text box, it can be any valid string; ideally it should be longer than a single character though as to help with reproducing this bug.
- Don’t submit just yet! Instead go back and re-phrase your feedback without entirely deleting it all. IE: click an existing position were you would want to add a new word, or remove an existing one. Ideally don’t pick the end of the feedback string as that doesn’t have this bug occur.
- Notice that when you use backspace on the string, your cursor deletes the right character but then jumps ahead to a further position than what you would expect.
- Also, notice that when you add a character to the string, the character is inserted correctly but your cursor also jumps ahead, further than you would expect.
Both of these incorrect behaviours mean that repeatably deleting or adding characters to anywhere that isn’t the end of the string will likely result in you messing up and incorrectly deleting the wrong characters or inserting characters into the wrong position. Unless remedied, this generally makes your feedback read as non-sensical. You can go out of your way to hit the left-arrow key after every key-press to work around this but that is less than ideal. This issue unfortunately makes editing or re-phrasing feedback before clicking send incredibly painful and presumably this issue may even result in some users deciding to not give feedback out of the extra effort required to re-phrase it. As such, I’d love to see this issue fixed.