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 not showing items in list with VirtualScroller #2121

Closed
gangsterschwein opened this issue Feb 6, 2022 · 2 comments
Closed

Dropdown not showing items in list with VirtualScroller #2121

gangsterschwein opened this issue Feb 6, 2022 · 2 comments

Comments

@gangsterschwein
Copy link

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

CodeSandbox Case (Bug Reports)
Working in [email protected]:
https://codesandbox.io/s/pv3-dropdown-vs-391-ztem5
Broken in [email protected]:
https://codesandbox.io/s/pv3-dropdown-vs-3111-3ob10

Current behavior
In versions older than 3.9.1, Dropdown does not display list items when reopened after item selection > #14

Expected behavior
Dropdown should display the list of items and scroll to selected item than reopening after selecting an item.

Minimal reproduction of the problem with instructions
Open Dropdown and select item > #14. Reopen Dropdown. Dropdown will show an empty list and the scroll bar stays in the top position.
Open Dropdown and select item #14. Reopen Dropdown. Dropdown wil scroll to item #14 but will not show items > #14.
The same error is seen in lazy and not lazy cases.
Also this error is reproduced on https://primefaces.org/primevue/showcase/#/dropdown

What is the motivation / use case for changing the behavior?
Fixing broken software

Please tell us about your environment:
Windows, Linux

  • Vue version:
    3.2.29

  • PrimeVue version:
    3.11.1

  • Browser:
    Chrome 98

@henckellSop
Copy link

also see #2114

@tugcekucukoglu
Copy link
Member

Duplicate #2114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants