-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
feat: shift + click to expand all child components #1752
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
Conversation
const isOpen = value === undefined ? !isExpanded.value : value | ||
setComponentOpen(treeNode.id, isOpen) | ||
if (isComponentOpen(treeNode.id)) { | ||
requestComponentTree(treeNode.id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would also need to expand the nodes that are loaded after that (recursively).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added property autoOpen
to TreeNode
to resolve it.
Would you mind allowing us to push changes to your branch? |
@Akryum That's ok. |
I mean I don't think we technically have the necessary rights to be able to push to this branch. |
I have checked allowing edits. Still can not push to it?👀 |
Let me try again |
Great it works :) Sorry for the messages, was probably me screwing something up 🤷♂️ |
closes #1739
force update: merged
forceToggleAll
totoggle