Assume that you have a list such as the following:
With the cursor on c I would like to make the collapse/expande shortcut behave this way:
- if c is collapsed => collapse b, move cursor to b
- if c is expanded (so it has children) => collapse c, move cursor to b
- if c is collapsed and have children => expand c
- if c is expanded or does not have children => do nothing
Please sign in to leave a comment.