riophae / vue-treeselect

A multi-select component with nested options support for Vue.js
https://vue-treeselect.js.org/
MIT License
2.9k stars 508 forks source link

Treeselect is very slow with relatively big arrays #418

Open rajmondburgaj opened 3 years ago

rajmondburgaj commented 3 years ago

Hi, I am testing this plugin where I built a dropdown using 1000 elements, and it is crazy slow. Tried some other similar plugins and they are very quick. Is it possible to check what might be the task that makes the dropdown almost stuck on every operation ?

kn0p1k commented 3 years ago

Hi, did you fix this?

rajmondburgaj commented 3 years ago

No, i gave up and used another plugin instead.

kn0p1k commented 3 years ago

No, i gave up and used another plugin instead.

Which? It work fine with more then 1000 records?

rajmondburgaj commented 3 years ago

I wanted to use this plugin as s multiselect tool, since this was not optimal I am using https://vue-multiselect.js.org/ for now. I like the UI of this plugin more but since this is not very well optimized I can not rely on it.

dashty94 commented 3 years ago

I wanted to use this plugin as s multiselect tool, since this was not optimal I am using https://vue-multiselect.js.org/ for now. I like the UI of this plugin more but since this is not very well optimized I can not rely on it.

Does vue-multiselect support and allow a tree selection?

rajmondburgaj commented 3 years ago

it does support only multiselect as the name implies :)

wildhart commented 3 years ago

Have either of you tried using async search so that the vue-treeselect component doesn't have to render all those items at the start?

kn0p1k commented 3 years ago

Have either of you tried using async search so that the vue-treeselect component doesn't have to render all those items at the start?

Initially, I need to display a list to the user( the list is not a tree), so I can't use that. If the component could load data on the scroll event, it would be great. Here on vue 3 https://2x.antdv.com/components/tree-select but we use vue 2

pnunas commented 3 years ago

Maybe that will help: https://github.com/riophae/vue-treeselect/issues/275