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

fix: kebab-case events are attached correctly on web components, see #2841 #2847

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

shadowings-zy
Copy link
Contributor

@shadowings-zy shadowings-zy commented Dec 18, 2020

see issue #2841 .

The kebab-case custom event foo-bar in web components will parse to foobar. Vue will add foobar as the name of event listener. I think this needs a fix.

Close #2841 .

: )

Copy link
Member

@posva posva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a test case?

@shadowings-zy
Copy link
Contributor Author

can you add a test case?

@posva hi, I have added test case for this commit

@antfu antfu requested a review from posva February 4, 2021 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kebab-case events are attached as lower case on web components
5 participants