Skip to content

TreeView.activeItem returns TreeItem which is focused before clicking the blank area on TreeView #201499

@harbin1053020115

Description

@harbin1053020115

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.85.0
  • OS Version: Darwin x64 21.6.0

Steps to Reproduce:

  1. Click a TreeItem of TreeView
  2. Click blank area of TreeView
  3. Using TreeView.activeItem to get activeItem
  4. Expecting get undefined value, but actually returns the TreeItem which is clicked in Step 1

Metadata

Metadata

Assignees

Labels

*as-designedDescribed behavior is as designed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions