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

AutoComplete: with virtual scroll, suggestions list gets hidden after clearing input & remains till reloaded again. #16868

Open
RajeshCh17 opened this issue Nov 28, 2024 · 2 comments
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Milestone

Comments

@RajeshCh17
Copy link

Describe the bug

We are using Autocomplete with virtual scroll support, as user starts typing in input overlay panel rightly shows result suggestions as user clears or removes input characters one by one, after complete deletion of input it gets hidden and doesn't comes up again.

Environment

All environment.

Reproducer

No response

Angular version

17.1.3

PrimeNG version

17.1.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.17.0

Browser(s)

Chrome Version 129.0.6668.90 (Official Build) (arm64)

Steps to reproduce the behavior

  1. Start typing input in Autocomplete with virtual scroll support --> suggestions visible.
  2. Remove each input char one by one --> would see suggestions as per response.
  3. Once all characters are removed.
  4. Start typing input character once again. ---> would see no overlay panel for suggestions, even api returns suggestions.

Expected behavior

It should show suggestions as per user input query.

@RajeshCh17 RajeshCh17 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 28, 2024
@mertsincan mertsincan added Resolution: Help Wanted Issue or pull request requires extra help and feedback and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 28, 2024
@mertsincan mertsincan added this to the Future milestone Nov 28, 2024
Copy link

Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨

@RajeshCh17
Copy link
Author

seems p-scroller getting an inline style of height:0px...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Projects
None yet
Development

No branches or pull requests

2 participants