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

Open
kagannikita opened this issue Apr 16, 2024 · 0 comments
Open

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

kagannikita opened this issue Apr 16, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

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
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

1 participant