Skip to content

MultiSelect: virtualScrollerOptions #8355

@henriwasd

Description

@henriwasd

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

  1. Select all items in the dropdown
  2. Open the dropdown again

Expected behavior

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions