After pasting curl into address bar, deleting results in the cursor losing focus
See original GitHub issueDescription After creating or editing a request by pasting a curl into the address bar the cursor will lose focus after pressing the backspace key. You can regain focus by pressing the tab key or by clicking into the address bar again. After that, there are no issues deleting.
To Reproduce Steps to reproduce the behavior:
- Click the plus icon
- Click ‘New Request’
- Click ‘Create’
- Click into the address bar
- Paste a curl:
curl 'https://example.com/' --compressed
- Press backspace
Expected behavior I expect the cursor to not lose focus on the address bar when deleting.
Screenshots https://thumbs.gfycat.com/CloudyAdventurousGuineafowl-mobile.mp4
Desktop (please complete the following information):
- OS: macOS 11.4
- Installation Method: Homebrew
- App Version 2021.3.0
Additional context This bug is an extension of #3002 and #3118.
If you use the workaround of pasting the curl twice in order to get Insomnia to properly process it then the cursor also loses focus.
My current workflow is: Paste curl -> select all -> paste curl -> backspace -> readd last character -> select domain -> replace with env variable -> send
I would like it to be: Paste curl -> select domain -> replace with env variable -> send
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
You’re welcome 😃 I found @dimitropoulos’ help very useful to reach my findings — thank you Dimitri
@HerCerM I sent you an email to have a call and help you get started with it.