-
Notifications
You must be signed in to change notification settings - Fork 58
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
Collapsible element re-expands when child element is selected #4059
Labels
Comments
pcdavid
added a commit
that referenced
this issue
Oct 29, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
39 tasks
pcdavid
added a commit
that referenced
this issue
Oct 29, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
pcdavid
added a commit
that referenced
this issue
Nov 18, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
pcdavid
added a commit
that referenced
this issue
Nov 18, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
pcdavid
added a commit
that referenced
this issue
Dec 13, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
pcdavid
added a commit
that referenced
this issue
Dec 13, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
pcdavid
added a commit
that referenced
this issue
Dec 13, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
pcdavid
added a commit
that referenced
this issue
Dec 13, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
pcdavid
added a commit
that referenced
this issue
Dec 13, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
pcdavid
added a commit
that referenced
this issue
Dec 13, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
pcdavid
added a commit
that referenced
this issue
Dec 13, 2024
Bug: #4059 Signed-off-by: Pierre-Charles David <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a collapsible element is collapsed and a child element is selected, the parent element automatically re-expands. This occurs because we automatically expands elements in the tree structure to ensure the selected element is visible. However, this behavior can be undesirable when the parent element is not selectable, as it causes the parent to re-expand unnecessarily.
Expected behavior
The parent element should remain collapsed, even if a child element is selected.
Actual behavior
Possible solution:
One possible solution to this issue is to clear the selection when a non-selectable element is clicked, such as when collapsing a parent element. This would prevent the parent element from re-expanding unnecessarily."
The text was updated successfully, but these errors were encountered: