-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Unhandled error during execution of native event handler #5180
Comments
You must have a problem with your project setup, as this is what I see: ...and you see a stack trace in the playground as well. Feel free to open a new issue here (or maybe in the Vue CLI repo, depending on your setup?) when you have a runnable reproduction repository. Or ask for help in the community at chat.vuejs.org |
My bad, you were right this was environmental. Turned out the event default was being prevented in the unhandledrejection listener with Sorry for the noise, will leave this up in case someone else stumbles upon a similar issue. |
哈哈哈哈 |
Version
3.2.26
Reproduction link
sfc.vuejs.org/
Steps to reproduce
@click
handlerWhat is expected?
For the actual error to be surfaced/logged/exposed to make debugging easier
What is actually happening?
The warning doesn't contain any meaningful information and makes debugging challenging.
I can't seem to reproduce this in the SFC playground, as I see the actual error surfacing there (e.g. Cannot read properties of undefined (reading 'defaultPrevented')), but when I do something similar in my app Vue keeps reporting the warning "Unhandled error during execution of native event handler" and the actual error is not shown or logged.
The text was updated successfully, but these errors were encountered: