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

Tree: Collapse Not Working When Nodes Are Filtered #7232

Open
lashax opened this issue Sep 23, 2024 · 0 comments · May be fixed by #7282
Open

Tree: Collapse Not Working When Nodes Are Filtered #7232

lashax opened this issue Sep 23, 2024 · 0 comments · May be fixed by #7282
Labels
Type: Bug Issue contains a defect related to a specific component.

Comments

@lashax
Copy link

lashax commented Sep 23, 2024

Describe the bug

When search operation expands nodes, those nodes are not collapsible.

Reproducer

https://stackblitz.com/edit/vitejs-vite-zatyeh?file=src%2FApp.tsx

System Information

System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
    Memory: 791.59 MB / 19.70 GB
  Binaries:
    Node: 16.18.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    react: ^18.2.0
    primereact: ^10.8.3

Steps to reproduce the behavior

  1. Type sc in search field
  2. Observe that Movies and Al Pacino nodes are expanded
  3. Try collapsing either Movies or Al Pacino node

Expected behavior

Nodes expanded by filter operation are expected to be collapsible by the user.

@lashax lashax added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 23, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Sep 23, 2024
@KumJungMin KumJungMin linked a pull request Oct 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants