Skip to content

Clicking on a view node's arrow (from TreeDataProvider) to expand it shouldn't execute its command #28632

Closed

Description

@eamodio
  • VSCode Version: Code - Insiders 1.14.0-insider (bbcd10a, 2017-06-13T05:13:35.880Z)
  • OS Version: Windows_NT ia32 10.0.16215

Or something. :) It's probably best to not have commands on expandable nodes but if you do, it definitely feels odd that it executes and expands. Maybe the arrow could be its own hit target?

Activity

  1. added
    tree-views
    on Jun 13, 2017
  2. sandy081 commented on Jun 14, 2017

    @sandy081
    Member

    Eric Amodio (@eamodio) Extensions can always opt out by not giving commands to those items. Do you think there is another case which I am missing here?

  3. added
    info-needed
    on Jun 14, 2017
  4. eamodio commented on Jun 14, 2017

    @eamodio
    ContributorAuthor

    Sandeep Somavarapu (@sandy081) not really -- its probably just best to not have a command on something that expands -- at least on single-click as it is now

  5. sandy081 commented on Jun 15, 2017

    @sandy081
    Member

    Ok. Closing for now since I do not see any usecase for not providing this. Will reopen based on more feedback. Thanks.

  6. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-neededtree-views

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions