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 with VirtualScroll not rendering items. #2560

Closed
xAl3xFx opened this issue Jan 4, 2022 · 0 comments
Closed

Dropdown with VirtualScroll not rendering items. #2560

xAl3xFx opened this issue Jan 4, 2022 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@xAl3xFx
Copy link

xAl3xFx commented Jan 4, 2022

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

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

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

The problem is present here in the Primereact's Demo.
https://www.primefaces.org/primereact/dropdown/

Current behavior

  • Use Dropdown with VirtualScroller
  • Select the second item ( Item # 1 )
  • Open the Dropdown once again
  • Scroll to the top
  • The first item ( Item #0 ) is missing.
    So the issue is that when you select some of the first items in a Dropdown with Virtual Scrolling enabled, the items above the selected one are not rendered until you scroll downwards and the go back up.

Expected behavior
All items should be visible right away.

  • React version:
    Demo Site.

  • PrimeReact version:
    7.1.0

  • Browser: [Chrome]

@mertsincan mertsincan self-assigned this Jan 15, 2022
@mertsincan mertsincan added this to the 7.1.1 milestone Jan 15, 2022
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Jan 15, 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 defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants