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

P-autocomplete after second click doesn't show dropdown #15281

Closed
kagannikita opened this issue Apr 16, 2024 · 0 comments · Fixed by #16155
Closed

P-autocomplete after second click doesn't show dropdown #15281

kagannikita opened this issue Apr 16, 2024 · 0 comments · Fixed by #16155
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@kagannikita
Copy link

kagannikita commented Apr 16, 2024

Describe the bug

Hi, everyone! In angular 16 in primeng ^16.0.0-rc.2 autocomplete worked but with last version angular and primeng, I got critical bug. When I opened dropdown first time api loaded, list showed, but in second time, dropdown doesn't show list and api loaded. List only showed, when you must be click to dropdown so very fast and catch cancelled api request. Can you help me with current bug, please. It's my code https://stackblitz.com/edit/ja1m96?file=package.json.
Current problem you can solve using Subject or subscribe, but create subscribes is a bad solution for current problem.
About subjects you must write more code.

Environment

https://stackblitz.com/edit/ja1m96?file=package.json

Reproducer

No response

Angular version

17.3.4

PrimeNG version

17.13.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

21.1.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@kagannikita kagannikita added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 16, 2024
LoaderB0T added a commit to LoaderB0T/primeng that referenced this issue Aug 1, 2024
@cetincakiroglu cetincakiroglu added this to the 17.18.8 milestone Aug 8, 2024
@cetincakiroglu cetincakiroglu 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 Aug 8, 2024
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.

3 participants