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: PickList element selection problem after filtering with ScrollBar #15011

Closed
dylanbehetre opened this issue Mar 11, 2024 · 0 comments · Fixed by #15477
Closed

Component: PickList element selection problem after filtering with ScrollBar #15011

dylanbehetre opened this issue Mar 11, 2024 · 0 comments · Fixed by #15477
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@dylanbehetre
Copy link

Describe the bug

Given a PickList with:

  • enough data in the source to maintain a scrollbar after filtering;
  • filtering on certain characters to filter but maintain a scrollbar after filtering;

When clicking on an item in the Source PickList in the second half of the list, then no item is selected and the scrollbar moves much lower.

Environment

Using Angular and PrimeNG in 16.0.2 version.
Using Chrome in last Version : 122.0.6261.112 (64 bits)

Reproducer

https://stackblitz.com/edit/28glhw?file=src%2Fservice%2Fproductservice.ts

Angular version

16.2.0

PrimeNG version

16.0.2

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

V20.10.0

Browser(s)

Chrome 122.0.6261.112 (64 bits)

Steps to reproduce the behavior

  1. Click on filtering input element of Available section of PickList ;
  2. Write 'b' ;
  3. Try to select "Green Earbuds" ;
  4. See the Hoover style go on "Yellow Earbuds" instead without selecting any item

Expected behavior

I expect selection of item "Green Earbuds"

@dylanbehetre dylanbehetre added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 11, 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 Mar 18, 2024
@cetincakiroglu cetincakiroglu added this to the 17.16.1 milestone May 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