Skip to content

Not toggling tree item .open on select #365

@sp00x

Description

@sp00x

Whenever a non-leaf tree item (item with subItems) is selected in vscode-tree then the item is toggled (collapsed/expanded).

I've tried doing e.detail.open = true and e.stopPropagation() and e.preventDefault() and return false in the vsc-tree-select event handler but nothing seems to help against this behavior.

I don't mind it expanding if I click the "/" chyron in front of the icon...

Is this behavior not possible to cancel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions