MultiSelect: Very long selection time due to Chips #3380
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
Hello.
For some reason MultiSelect takes very long time to select all items in list or even single select when lots of items are already selected.
I did a "Performance" benchmark and I think issue is in
deepEquals
function used by PrimeVue, although I may be wrong.Reproducer
https://codesandbox.io/s/primevue-multiselect-long-selection-time-stwzeq?file=/src/MultiSelectDemo.vue
PrimeVue version
3.20
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
MultiSelectDemo.vue
fileCheckbox
for selecting all items.Expected behavior
Selection should take much less time
The text was updated successfully, but these errors were encountered: