-
-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Autocomplete] slow/hangs when using more then +1000 items and grouped choices #2280
Comments
I'm sorry, are you really talking about 1000 items in the list ? |
Yes, tom-select advertises for being performant with 15.000 items. And wondering, is there a way to make the MutationObserver more specific? For instance not triggering on Select-events? |
Wow i did not know this was even doable :) Do you feel to investigate this problem and suggest maybe a PR ? |
Would love to, I'm only not 100% sure about the responsibilities of the
MutationObserver.
Do you have a small description of what it's supposed to do? This way I can
test if all functionality is still working after a fix.
I understand so far, that it checks for changes on the select-list and
updates the tom-select-widget accordingly?
|
The ux-autocomplete mutation-observer is triggered when selecting items from the list. I believe only in multiple/grouped-choice mode.
This hangs the page/browser when using enough items in the list. (+1000)
By removing the mutation-observer, the widget becomes fast again.
The text was updated successfully, but these errors were encountered: