Commit 8ca062e
Fix multiple items showing selection in tree when clicking twisties (#276847)
* Initial plan
* Fix: Prevent multiple items from having focus in tree when clicking twisties
Replace focus instead of merging when splicing nodes with focus trait
Co-authored-by: dmitrivMS <[email protected]>
* Add test for focus behavior when collapsing/expanding tree nodes
Co-authored-by: dmitrivMS <[email protected]>
* Revert "Fix: Prevent multiple items from having focus in tree when clicking twisties"
This reverts commit 6449075.
* Revert "Add test for focus behavior when collapsing/expanding tree nodes"
This reverts commit 0c85d5a.
* Updates
* PR feedback, remove tests
* PR feedback
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: dmitrivMS <[email protected]>
Co-authored-by: Dmitriy Vasyura <[email protected]>1 parent 157bd3e commit 8ca062e
File tree
1 file changed
+9
-0
lines changed- src/vs/platform/quickinput/browser/tree
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
344 | 353 | | |
345 | 354 | | |
346 | 355 | | |
| |||
0 commit comments