[Combobox] Improve lag time when large numbers of Combobox Items are present #6392
Labels
0 - new
New issues that need assignment.
blocked
This issue is blocked by another issue.
c-combobox
Issues that pertain to the calcite-combobox and related components
Calcite (dev)
Issues logged by Calcite developers.
enhancement
Issues tied to a new feature or request.
Milestone
Actual Behavior
combobox has significant lag in response time when 3,200 combobox-items are added and nested.
Also, displays with more lag when it prevents the containing parent panel from opening. The panels themselves load in slowly when they contain the combobox with many combobox-items. Occurs whether or not the icon property of calcite-combobox-item is populated, for instance:
Screen.Recording.2023-01-30.at.5.25.55.PM.mov
Expected Behavior
Improved performance and response time when large amounts of combobox-items are present, in particular where over 100, or hundreds/thousands of elements are present.
Reproduction Sample
https://codesandbox.io/s/lotsa-items-combobox-wzlj6c?file=/src/App.js
Reproduction Steps
Open the sample
Observe the lag in load time
Reproduction Version
1.0.3
Relevant Info
No response
Regression?
No response
Impact
No response
Esri team
Calcite (dev)
The text was updated successfully, but these errors were encountered: