Skip to content

Sourcegraph Chrome Extension loads on another tab if you switch quickly

Created by: deadcoder0904

Steps to reproduce:

  1. Open a New Tab & type src & then press Tab
  2. Type some code like const { exit } = useApp() & press Enter
  3. Now switch to another tab immediately before it redirects

Expected behavior:

I want the Sourcegraph Chrome Extension to open up in that tab only & not the other one as it might be a tab that contains useful information but is instantly navigated because of Sourcegraph.

Actual behavior:

It navigates from the new tab. As the Sourcegraph Chrome Extension is really slow to navigate (I actually find myself waiting a few seconds before it redirects), it makes sense I'm gonna perform additional tasks like switching tabs & which causes errors.