element icon indicating copy to clipboard operation
element copied to clipboard

[Feature Request] Faster select rendering

Open zont opened this issue 8 years ago • 5 comments

Element UI version

2.1.0

OS/Browsers version

any

Vue version

2.5.13

Reproduction Link

https://jsfiddle.net/4jtr9owc/

Steps to reproduce

Element-UI select is very slow rendered on big datasets: https://jsfiddle.net/4jtr9owc/

Native select rendered faster more then 10 times: https://jsfiddle.net/by8kyb17/

What is Expected?

Fast rendering

What is actually happening?

Very slow rendering

zont avatar Feb 06 '18 07:02 zont

@zont 你10000条数据也太多了吧

littlePig-zzf avatar Feb 06 '18 08:02 littlePig-zzf

My real usecase: ~1000 items (users list). It very slow to: ~400ms on one el-select. If i need more then one list: https://jsfiddle.net/e97kbh93/

zont avatar Feb 06 '18 09:02 zont

Native selects with 1000 users: https://jsfiddle.net/hucc5ttv/

zont avatar Feb 06 '18 09:02 zont

Perhaps the render performance of the Select component can be improved, but for such large lists an autocompleting remote search field may be more appropriate.

a-kriya avatar Feb 11 '18 04:02 a-kriya

@zont I recommend that you use remote search at current version, and i will close this issue. We may enhance select performance in a future version.

liril-net avatar Feb 11 '18 05:02 liril-net