question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After pasting curl into address bar, deleting results in the cursor losing focus

See original GitHub issue

Description 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:

  1. Click the plus icon
  2. Click ‘New Request’
  3. Click ‘Create’
  4. Click into the address bar
  5. Paste a curl: curl 'https://example.com/' --compressed
  6. 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:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
HerCerMcommented, Jul 13, 2021

You’re welcome 😃 I found @dimitropoulos’ help very useful to reach my findings — thank you Dimitri

1reaction
dimitropouloscommented, Jul 1, 2021

@HerCerM I sent you an email to have a call and help you get started with it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to stop letters being deleted while you're typing
The problem was caused by you accidentally tapping the Insert key in the first place. The Insert key is mostly used to switch...
Read more >
When ever I type on my computer the type will jump to the ...
Hi,. From the description, I understand that whenever you type something in the websites, the cursor automatically jumps to address bar and ...
Read more >
Does mmdeldisk move snapshot data before deleting disk?
My question deals with snapshots that are still located on the disk, will they be relocated appropriately when the mmdeldisk command is run?...
Read more >
Documentation - iTerm2 - macOS Terminal Replacement
If you've lost your cursor, press Cmd-/ or select View > Find Cursor and the cursor's ... You can position the tab bar...
Read more >
Updates | RapidAPI for Mac - Paw Cloud
There was an issue where GraphQL variables would not update after modifying ... Paw 3.0.14 adds support for Touch Bar on the new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found