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
remove selection and start to type 'item' in filter section
result: good performance
Expected behavior
Filtering should be as fast when you have nothing selected as when you have an item selected. It should not matter where that item is positioned in the list.
The text was updated successfully, but these errors were encountered:
Describe the bug
When having a large list (100k items) with a virtual scroller the filtering is very slow after you select an item near the end of the list:
Even with 10k items there is a noticeable delay:
When nothing is selected the filter performance is as expected.
Reproducer
https://stackblitz.com/~/github.com/IndyNaessens/primereact-dropdown-slow-filter-demo
System Information
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Memory: 11.29 GB / 31.74 GB
Binaries:
Node: 20.16.0 - C:\Program Files\nodejs\node.EXE
npm: 10.5.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.19041.4355
npmPackages:
primereact: ^10.8.0 => 10.8.0
react: ^18 => 18.3.1
Steps to reproduce the behavior
Expected behavior
Filtering should be as fast when you have nothing selected as when you have an item selected. It should not matter where that item is positioned in the list.
The text was updated successfully, but these errors were encountered: