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

Cascade Select clicking a few times causes the component to freeze #15869

Closed
willrj opened this issue Jun 20, 2024 · 0 comments · Fixed by #15955
Closed

Cascade Select clicking a few times causes the component to freeze #15869

willrj opened this issue Jun 20, 2024 · 0 comments · Fixed by #15955
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@willrj
Copy link

willrj commented Jun 20, 2024

Describe the bug

When clicking repeatedly in quick succession, the component freezes the browser.

This error also occurs in the PrimeNG examples.
https://primeng.org/cascadeselect

Environment

No special Environment. This even happens in the documentation: https://primeng.org/cascadeselect

Reproducer

https://primeng.org/cascadeselect

Angular version

18.0.1

PrimeNG version

17.18.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

10.5.0

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Open the web page that contains the Cascade Select component.
  2. Identify the Cascade Select component on the page.
  3. Start clicking the Cascade Select component repeatedly and quickly.
  4. Observe that after a few clicks, the component becomes unresponsive.
  5. Notice that the entire browser starts to freeze and stops responding to further interactions.
  6. Verify that this issue is reproducible consistently with the same steps.
  7. Confirm that the error also occurs in the PrimeNG examples provided on primeNG website.

This step-by-step description should help in understanding and reproducing the error.

Expected behavior

The Cascade Select component should remain responsive and fully functional, even when clicked repeatedly and quickly. The browser should not freeze or become unresponsive, and the component should handle rapid successive clicks without any performance issues.

@willrj willrj added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 20, 2024
@mehmetcetin01140 mehmetcetin01140 self-assigned this Jul 3, 2024
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jul 3, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.18.3 milestone Jul 3, 2024
@mehmetcetin01140 mehmetcetin01140 modified the milestones: 17.18.3, 17.18.4 Jul 4, 2024
cetincakiroglu added a commit that referenced this issue Jul 11, 2024
Fixed #15869 - CascadeSelect | clicking a few times causes the compon…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants