oruga icon indicating copy to clipboard operation
oruga copied to clipboard

Performance issue with autocomplete when the data array is very large.

Open seedds opened this issue 1 year ago • 9 comments

Overview of the problem

Oruga version: [0.9.0-pre.1] Vuejs version: [3.5.4] OS/Browser: windows/chrome

Description

Performance of Autocomplete is very bad when the data is very large. I have an array which contains around 1000 strings. It feels very laggy when using the Autocomplete component.

Steps to reproduce

The base example on the page: https://oruga-ui.com/components/Autocomplete.html. First fill the data object with random string data. When the data object is large enough, the performance drops significantly.

Expected behavior

the filter function should perform very smoothly and feel snappy.

seedds avatar Sep 19 '24 08:09 seedds