bootstrap-multiselect icon indicating copy to clipboard operation
bootstrap-multiselect copied to clipboard

Dropdown performance is very poor.

Open shalludogra opened this issue 4 years ago • 5 comments

I'm having 4000 records in the dropdown and its taking time to open. Is there any solution for this ?

shalludogra avatar Oct 02 '19 11:10 shalludogra

Unfortunately, this is a dup of #918, among others. Loading that many items would probably be slow for even a native select. You might have better luck with a plugin that allows async or on-demand loading. For example: https://select2.org/

tiesont avatar Oct 02 '19 21:10 tiesont

Is this https://select2.org/ package have multiple selection with checkbox?

shalludogra avatar Oct 03 '19 15:10 shalludogra

On the desktop, it's working fine but on the mobile devices, bootstrap-multiselect performance is very poor. Not even scroll is working

shalludogra avatar Oct 03 '19 15:10 shalludogra

any update?

shalludogra avatar Oct 14 '19 10:10 shalludogra

Unfortunately, this is a dup of #918, among others. Loading that many items would probably be slow for even a native select. You might have better luck with a plugin that allows async or on-demand loading. For example: https://select2.org/

Actually it's due to the implementation of the library. It inserts many individual elements to the DOM one-by-one causing way worse performance than if they were to be generated individually, added to an array or HTML string, then the entire set inserted at the end.

dhenson02 avatar Dec 11 '19 22:12 dhenson02