primefaces / primefaces/primereact
MultiSelect: virtualScrollerOptions
Open
Nobody has claimed this yet.
Status: Needs Triage
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Found a bug in MultiSelect when we have many items and select all of them, and I open the dropdown again, it crashes the page, it is even happening in the documentation
Reproducer
No response
System Information
System:
OS: Windows 11 10.0.26200
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
Memory: 1.93 GB / 15.74 GB
Binaries:
Node: 22.20.0 - C:\Users\henrique.silva\.version-fox\cache\nodejs\current\node.EXE
npm: 10.9.3 - C:\Users\henrique.silva\.version-fox\cache\nodejs\current\npm.CMD
Browsers:
Chrome: 141.0.7390.108
Edge: Chromium (140.0.3485.66)
npmPackages:
primereact: ^10.3.3 => 10.3.3
react: ^18.2.0 => 18.2.0
Steps to reproduce the behavior
- Select all items in the dropdown
- Open the dropdown again
Expected behavior
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the MultiSelect documentation example using virtualScrollerOptions and reproduce the reported sequence: select all items, then reopen the dropdown. Trace the MultiSelect behavior around that interaction and verify that reopening no longer crashes the page, including in the documentation example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100