Skip to content

add option for user-select: none-ish on TreeItem of TreeView for Custom Extension #167632

Open

Description

Some TreeItems are meant to be informational, not interactive. An information TreeItem that can be clicked on or has a highlight on hover is confusing to users that might expect something to happen.

Maybe there is a non-tree DataProvider I am not aware of 🤷.
For example I have data I would like to display in the sidebar of my custom extension. I use a custom TreeView with informational TreeItems like this:
image

Users get confused when they hover over a TreeItem an it is highlighted
image
Or when they click on a spacing TreeItem
image

It could be helpful to add a property to TreeItem that disables the hover and clicking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitytree-viewsExtension tree view issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions