thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.59k stars 128 forks source link

Cursor jumps to the start of text fields when the tab regain focus. #1563

Open SunsetOrange opened 3 weeks ago

SunsetOrange commented 3 weeks ago

If a non-active ThunderClient tab regains focus by placing a cursor into a text input field with a mouse click, the cursor will jump back to the start of the text input field and will sometimes highlight all the text in the box. This can cause the user to write changes into the wrong part of the text or overwrite it entirely.

To reproduce, open a ThunderClient tab and another tab to the side with something like a file in it. Click into the other tab to shift focus to that tab. Move the mouse to a position partway through the text in an input box in the ThunderClient tab, and click to place the cursor in the middle of the text. If this action is what restores focus to the ThunderClient tab, the cursor will leap to the start of the text field.