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
@antfu antfu added this to Planned, might need fresh review in Next Patch Feb 4, 2021
Next Patch automation moved this from Planned, might need fresh review to Approved Feb 7, 2021
@LinusBorg LinusBorg merged commit b302cbb into vuejs:master Feb 9, 2021
Next Patch automation moved this from Approved to Done Feb 9, 2021
@yyx990803 yyx990803 moved this from Done to Final (Reviewed by Evan) in Next Patch Feb 23, 2021
emccorson added a commit to OnsenUI/OnsenUI that referenced this pull request Apr 1, 2021
This was needed to get a bug fix released in vue@3.0.6:
vuejs/core#2847
emccorson added a commit to OnsenUI/OnsenUI that referenced this pull request Apr 1, 2021
This ensures we are using a version of vue that has the bug fix we need.
vuejs/core#2847
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