Input bug in Bounty search

Bug description:
It we are unable to modify the input properly from the middle.
Ex: If I type “Giyub” mistakenly and want to modify from the middle into “GitHub” after typing “t” the text cursor is going to the end of the present text every time.

So in summary, the text cursor is going to the end after one input modification. It is very problematic for long texts.

Expected vs Current Behavior:
Expected is that users can modify the Bounty search input from the middle
Current behavior is the input cursor is going to last position of the input after one key press.

Steps to reproduce:
Please fix the input in Bounty search.

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Replit Profile: