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

[BUG] PrimeVue 3.3.0: Dropdown's select item logic is broken #1026

Closed
cybay opened this issue Feb 25, 2021 · 1 comment
Closed

[BUG] PrimeVue 3.3.0: Dropdown's select item logic is broken #1026

cybay opened this issue Feb 25, 2021 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@cybay
Copy link

cybay commented Feb 25, 2021

https://www.primefaces.org/primevue/showcase/#/dropdown

How to replicate the issue.

  1. create Dropdown with items more than can be fit in overlay without need to scroll, for example 10 items.
  2. say. select first item from drop-overlay. It works.
  3. try to chose the last item. It will require to scroll the options. When you see the last item and click on it with mouse - it won't be selected as it expected. It will be selected only with the second click.

Every time when you have some selected item and trying to select another one AND it requires scrolling - the new selection won't happen at first shot. Only with second one.

It's obviously that's a Bug.

Apparently there is some problem with scrolling.
In case there are amount of items that don't fit in overlay AND we selected some item beyond overlay rows capacity AND we open the options - it's not scrolling to make selected item visible. It's surely a Bug too.

@cybay cybay changed the title PrimeVue 3.3.0: Dropdown's select item logic is broken [BUG] PrimeVue 3.3.0: Dropdown's select item logic is broken Feb 25, 2021
@cagataycivici
Copy link
Member

Replicated

@cagataycivici cagataycivici self-assigned this Feb 26, 2021
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Feb 26, 2021
@cagataycivici cagataycivici added this to the 3.3.1 milestone Feb 26, 2021
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

No branches or pull requests

2 participants