Repository: vscode
Issue: Ref tree item in zone widget cannot repeat click
Labels: bug,editor-symbols,references-viewlet

Type: <b>Bug</b>

1. Open a ts project.
2. Go to some code's Reference by right-click menu `Go to Reference`, then a zone widget will appear which contains editor and ref tree.
3. Click a item of ref tree, then move the editor on left to make the editor unselect the reference word.
4. Then click ref item again, there's no reaction anymore.

When the text is not selected, or when the target word is not in the window, it will continue to refocus the word to the middle of the window after clicking, which may be better.

VS Code version: Code 1.80.1 (Universal) (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:20:23.298Z)
OS version: Darwin x64 21.3.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|4, 3, 4|
|Memory (System)|16.00GB (0.04GB free)|
|Process Argv|--crash-reporter-id 1fe3ded9-560f-4047-b54c-eadaaac6af23|
|Screen Reader|yes|
|VM|0%|
</details><details><summary>Extensions (48)</summary>

Extension|Author (truncated)|Version
---|---|---
toggle-hidden|adr|1.0.2
Bookmarks|ale|13.4.1
project-manager|ale|12.7.0
aone-copilot|aon|1.0.0
vscode-eslint|dba|2.4.2
githistory|don|0.6.20
xml|Dot|2.5.1
es7-react-js-snippets|dsz|4.4.3
gitlens|eam|14.2.1
EditorConfig|Edi|0.16.4
prettier-vscode|esb|10.1.0
auto-close-tag|for|0.5.14
auto-rename-tag|for|0.1.10
code-runner|for|0.12.0
copilot|Git|1.105.350
todo-tree|Gru|0.0.226
vscode-commandbar|gsp|0.3.1
comment-translate|int|2.3.1
vscode-language-pack-zh-hans|MS-|1.80.2023071209
python|ms-|2023.14.0
vscode-pylance|ms-|2023.8.40
jupyter|ms-|2023.6.1101941928
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.17
vscode-jupyter-cell-tags|ms-|0.1.8
vscode-jupyter-slideshow|ms-|0.1.5
remote-containers|ms-|0.304.0
remote-ssh|ms-|0.102.0
remote-ssh-edit|ms-|0.86.0
remote-explorer|ms-|0.4.1
vsliveshare|ms-|1.0.5883
vetur|oct|0.37.3
tmlanguage|ped|1.0.0
material-icon-theme|PKi|4.29.0
markdown-preview-enhanced|shd|0.6.10
vscode-scss-formatter|sib|3.0.0
svg-preview|Sim|2.8.3
vscode-fileutils|sle|3.10.3
code-spell-checker|str|2.20.5
open-in-browser|tec|2.0.0
highlight-matching-tag|vin|0.11.0
vscode-icons|vsc|12.5.0
volar|Vue|1.8.8
vscode-todo-highlight|way|1.0.5
ReactSnippets|xab|2.4.0
markdown-all-in-one|yzh|3.5.1
material-theme|zhu|3.16.0
node-modules|zyr|1.6.1

(4 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstes516:30244333
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
282f8724:30602487
89544117:30613380
a9j8j154:30646983
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofb:30804716
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv1:30812748

```

</details>


![bug17](https://github.com/microsoft/vscode/assets/11473889/ba3767ff-20f5-49e7-8e5c-69761869b527)


<!-- generated by issue reporter -->