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

Dropdown virtual scroll and lazy load dropdown with selected item #2114

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

Comments

@henckellSop
Copy link

henckellSop commented Feb 4, 2022

I'm submitting a BUG
image

Current behavior
reopening lazy loaded dropdown with selected item --> if the selected item is outside itemSize of the first n elements, the lazy load dropdown shows no elements. Only scrolling triggers the lazy loading event so that it loads the items again beginning from 1...itemSize.
Beneath itemSize, it works.

Expected behavior
if item is selected, opening the (lazy load) dropdown selection should jump directly to the selected element in itemlist and also highlight it.

Minimal reproduction of the problem with instructions
https://primefaces.org/primevue/showcase/#/dropdown
--> see example on the homepage (eg. select Item #300, then reopen the dropdown, wait, then scroll)

  • Vue version: 3.X

  • PrimeVue version: 3.11.1

  • Browser: Only tested for latest Chrome Version...

@mauritsderoover
Copy link

This would be helpful for us as well!

@tugcekucukoglu tugcekucukoglu added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Feb 9, 2022
@tugcekucukoglu tugcekucukoglu changed the title [BUG] lazy load dropdown with selected item Dropdown virtual scroll and lazy load dropdown with selected item Feb 9, 2022
@mertsincan mertsincan self-assigned this Feb 14, 2022
@mertsincan mertsincan added this to the 3.11.2 milestone Feb 14, 2022
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

4 participants