-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
vue3 + Web component doesn't emit basic custom event #5314
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
Comments
Definitely working thank you ! What would be the best practice with a vue2 project . Ref to #5313 |
Also the event are not working in the react project. Is it a limitation from react ? |
Yes, I think so. React uses its own synthetic event system which, as far as I understand, doesn't work seamlessly with CustomEvents |
Please take further questions back to discord. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
Version
3.2.29
Reproduction link
github.com
Steps to reproduce
What is expected?
The event should be send.
What is actually happening?
doing nothing
I used defineEmits as define in the doc https://v3.vuejs.org/guide/web-components.html#definecustomelement nothing is working.
The text was updated successfully, but these errors were encountered: