Closing jupyter notebook in working tree view also auto-closes original tab

Reproduce:

  1. create new/ open existing jupyter notebook in git repo
  2. make some edit, save
  3. go to version control tab, click the notebook under Changes
  4. a side-by-side diff viewer opens for the notebook
  5. close the diff tab (“Working Tree” in tab title)
  6. (this is where the weird behavior is) the original notebook also automatically closes. this doesn’t happen with files of other extensions like .py or .ts

Does this happen in vscode as well?

appears to be an old vscode issue but was fixed as of march 20 this year Closing notebook diff editor tab also closes notebook · Issue #200683 · microsoft/vscode · GitHub