Skip to content
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

Maximum call stack size exceeded on file upload #385

Closed
raphaelarias opened this issue Feb 28, 2021 · 3 comments
Closed

Maximum call stack size exceeded on file upload #385

raphaelarias opened this issue Feb 28, 2021 · 3 comments
Labels
bug report A submitted bug report, not yet validated.

Comments

@raphaelarias
Copy link

raphaelarias commented Feb 28, 2021

Describe the bug
Add the file input to a form. drag and drop. Nothing happens, the UI doesn't update, and the console has the error:
image

To Reproduce
I believe this is related to this error vuejs/vue#7788 (even though it was closed and supposed to be fixed, I couldn't find any other explanation). I'm trying to create a way to reproduce. Currently, it happens in my Nuxt (2.15.2) project (perhaps because vuex is set as strict, but even if I try to disable it, still happens)

Expected behavior
It should display the image or file icon and show the progress bar.

Screenshots
If applicable, add screenshots to help explain your problem.
image

image

Device information:

  • Device: Mac
  • OS: MacOs Big Sur 11.2
  • Browser: Chrome (also happens on Firefox and Safari)
  • Version: 88
@raphaelarias raphaelarias added the bug report A submitted bug report, not yet validated. label Feb 28, 2021
@justin-schroeder
Copy link
Member

Happy to look into this, but it must have something to do with your implementation details. You mentioned Vuex? Are you somehow binding formulate data to vuex?

It would be really helpful if you could produce a reproduction on codepen or sandbox.

@raphaelarias
Copy link
Author

No, not really. I believe it started happening when I updated Nuxt. I'm creation a repo attempting to reproduce and find the culprit. I keep you posted today :)

@raphaelarias
Copy link
Author

There you go. Found it. I apologise if I created the ticket too early, but I deeply appreciate your prompt reply! I'll post below the problem in case someone has the same problem.

We've started testing a client-side logging library, I believe they may have implemented something in Vue that ended up breaking Vue Formulate (but nothing else, interestingly enough).

import LogRocket from 'logrocket'; <- That was the problem. Removing fix it (I had added as a plugin to nuxt.config.js).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report A submitted bug report, not yet validated.
Projects
None yet
Development

No branches or pull requests

2 participants