-
Notifications
You must be signed in to change notification settings - Fork 303
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
[Bug]: Combobox - Maximum recursive updates exceeded #371
Comments
I am also having the same issue. Is there a workaround? |
I have this issue as well. I figured that until 100 items go fine, everything above 100 items will cause this issue 🤔 Check the example: https://stackblitz.com/~/github.com/devbyray/shadcn-vue-combobox-issue |
I'm also having this issue, I have ~100/200 items |
I'm also having this issue, 300 items |
same problem here. works for under ~100 items |
It looks like it is fixed 💪🥳 |
With the latest version of radix, it no longer shows this error but it's still VERY slow for larger lists. |
With the latest version of radix-vue (1.8.5) the issue is back: https://stackblitz.com/edit/is2sf6-qsxvsu?file=src%2FApp.vue When you comment out the Any ideas? |
I have the same issue in v1.9.0 |
a weird fix, for those using nuxt 3, go to
somehow this fixes it and it works with larger arrays of items |
Do you have a fix for Vite? |
@phuclh maybe try to add |
I have 1000 entries, getting same error, so I implemented solution provided by @lazbeta for now. NOTE: using Inertia.js, not Nuxt In script setup:
In template:
|
Seems it's working good in v1.9.3, and it should be rendered better in v2 Closing as a stale issue |
I confirm it works with latest (1.9.5) version. Problem was in 1.9.1 for me. I tried with 1000 and 250 items and both work. The 1000 one has some minor "lag" so I still prefer the solution above which limits the entire list. 250 items is instant render. |
Reproduction
https://stackblitz.com/edit/is2sf6?file=src%2FApp.vue
Describe the bug
Combobox is unable to render more than 100 elements. This can be easily reproduced when altering any combobox example from the docs to show more than 100 elements at a time.
Opening the popover results in the fallback to be displayed.
When opening the popover, this error message gets thrown in the browser console:
Maximum recursive updates exceeded. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.
I have read a bit about it and this radix-vue issue seems related:
unovue/radix-vue#551
System Info
Contributes
The text was updated successfully, but these errors were encountered: