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

Component: Tree - ERROR RangeError: Maximum call stack size exceeded at Tree.propagateUp #13976

Closed
kazakevich-alexei opened this issue Oct 29, 2023 · 2 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@kazakevich-alexei
Copy link

kazakevich-alexei commented Oct 29, 2023

Describe the bug

component Tree - ERROR RangeError: Maximum call stack size exceeded at Tree.propagateUp

For the p-tree component, [filter]="true" , SelectionMode="checkbox" are set.
There are approximately 1000 elements in the [value] data source, with a maximum nesting of 3 levels

A value is entered in the filter field and the result is received.
When clicking on any node, an error occurs as a result

image

Environment

windows 11, Webstorm

Reproducer

No response

Angular version

16.2.6

PrimeNG version

16.5.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.16.1

Browser(s)

No response

Steps to reproduce the behavior

For the p-tree component, [filter]="true" , SelectionMode="checkbox" are set.
A value is entered in the filter field and the result is received.
When clicking on any node, an error occurs as a result

Expected behavior

No response

@kazakevich-alexei kazakevich-alexei added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 29, 2023
@kazakevich-alexei kazakevich-alexei changed the title Component: Title Component: Tree Oct 29, 2023
@kazakevich-alexei kazakevich-alexei changed the title Component: Tree Component: Tree - ERROR RangeError: Maximum call stack size exceeded at Tree.propagateUp Oct 29, 2023
@rolandtoth
Copy link

Experiencing this with PrimeNG v17.9.0 too, with only 6 items. This issue makes the search function entirely unusable.

Also when searching, selected checkboxes became unselected, but that's probably another issue.

@mehmetcetin01140
Copy link
Contributor

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?

Thanks a lot for your understanding!
Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

3 participants