You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unknown Error: Maximum recursive updates exceeded in component <TestComponent>. 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.
It's unclear for me what exactly causes the error, if it's one thing or combination of different things:
if this line is commented out the error is not thrown
the error is not thrown when this and this lines are commented out
i don't have any issues using such component in the browser
To Reproduce
git clone [email protected]:deathmaz/vue-test-issue-repro.git
cd vue-test-issue-repro
npm install
npm run test:unit
@cexbrayat if I don't stub teleport the error is not thrown, most likely because then the checkbox cannot be "clicked" (because it's teleported) and state is not mutated
OK, now we know this is a weird interaction between the default teleport stub and floating-ui.
But it's hard to know if this is a problem inside floating-ui or VTU without digging deeper.
If not using a stub solves your issue, I would recommend going with that (except if you're willing to investigate more and open a PR on this repo or floating-ui to solve this issue of course!).
Describe the bug
An error is thrown when running test:
It's unclear for me what exactly causes the error, if it's one thing or combination of different things:
To Reproduce
Expected behavior
No error is thrown
Related information:
Additional context
The component in the repro uses
@floating-ui/vue
packageThe text was updated successfully, but these errors were encountered: