You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When virtualScrollerOptions is used in ListBox, no items are displayed in the list. This feature works in version 10.8.5 but fails in version 10.9.1.
In the reproducer, the first ListBox with virtualScrollerOptions shows no items, while the second ListBox without virtualScrollerOptions displays all items correctly.
Added ListBox with multiple options
When virtualScrollerOptions is added ( e.g. virtualScrollerOptions={{ itemSize: 38 }} ), all items disappear
When virtualScrollerOptions is removed, all items reappear
Expected behavior
Items should appear when using the virtualScrollerOptions
The text was updated successfully, but these errors were encountered:
OK I have confirmed with your StackBlitz its working in 10.8.5 and not in 10.9.1.
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Jan 7, 2025
Describe the bug
When virtualScrollerOptions is used in ListBox, no items are displayed in the list. This feature works in version 10.8.5 but fails in version 10.9.1.
In the reproducer, the first ListBox with virtualScrollerOptions shows no items, while the second ListBox without virtualScrollerOptions displays all items correctly.
You can refer to the sample on the official site, which currently demonstrates the same issue:
https://primereact.org/listbox/#virtualscroll
Reproducer
https://stackblitz.com/edit/suezqpkl?file=src%2FApp.jsx
System Information
Steps to reproduce the behavior
Added ListBox with multiple options
When virtualScrollerOptions is added ( e.g. virtualScrollerOptions={{ itemSize: 38 }} ), all items disappear
When virtualScrollerOptions is removed, all items reappear
Expected behavior
Items should appear when using the virtualScrollerOptions
The text was updated successfully, but these errors were encountered: