Dropdown virtual scroll and lazy load dropdown with selected item #2114
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a BUG
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...
The text was updated successfully, but these errors were encountered: