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

[TreeView] Incorrect node selection while filtering #4451

Open
mbechev opened this issue Nov 6, 2024 · 0 comments
Open

[TreeView] Incorrect node selection while filtering #4451

mbechev opened this issue Nov 6, 2024 · 0 comments

Comments

@mbechev
Copy link
Contributor

mbechev commented Nov 6, 2024

Description

The TreeView automatically selects nodes when clearing filter value.

Steps To Reproduce

  1. Filter by 'Bed Linen' value
  2. Select Occasional Furniture node to select all Bed Linen results
  3. Clear the filter value and expand the Occasional Furniture node.
  4. Notice that Curtains & Blinds node is also selected.
    https://stackblitz.com/edit/angular-gdvnye-u4kbke

Screenshots or video

Screen.Recording.2024-11-06.at.11.50.00.mov

Actual Behavior

Curtains & Blinds node is selected because the parent node state is checked while the filter is applied.

Expected Behavior

The parent node state should be indeterminate when the filter is removed and the Curtains & Blinds node should remain unchecked.

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

No branches or pull requests

2 participants