Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sl-tree-item label click should toggle open/close #1574

Closed
gap777 opened this issue Sep 22, 2023 · 1 comment
Closed

sl-tree-item label click should toggle open/close #1574

gap777 opened this issue Sep 22, 2023 · 1 comment
Labels
feature Feature requests.

Comments

@gap777
Copy link

gap777 commented Sep 22, 2023

What issue are you having?

Prior to v2.8, clicking the tree item label would open or close the tree item. I think it may have actually been selecting/deselecting the item, which 2.8 decoupled from open/close (which is good!). However, open/close being triggered
only by clicking on a very small icon is difficult.

Describe the solution you'd like

Clicking the label of a tree item toggles open/close.

Describe alternatives you've considered

Write JS to propagate the label click event to call the collapsed property.

@gap777 gap777 added the feature Feature requests. label Sep 22, 2023
@claviska
Copy link
Member

This was by design. Please see the discussion in #1521 for details. I'm happy to continue the conversation on the thread if you have additional thoughts to add, that way others involved in the decision have a chance to see it as well.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature requests.
Projects
None yet
Development

No branches or pull requests

2 participants