Skip to content

Add composition events to GlobalEventHandlers #949

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

Merged
merged 1 commit into from
Dec 21, 2020
Merged

Add composition events to GlobalEventHandlers #949

merged 1 commit into from
Dec 21, 2020

Conversation

marijnh
Copy link
Contributor

@marijnh marijnh commented Nov 4, 2020

GlobalEventHandlers were missing "compositionstart", "compositionupdate" and "compositionend", which caused errors when trying to use a function type that relied on getting even object types from that type.

(I should note that I don't really know what I'm doing here, and just searched for the other event names and added similar declarations in what looked like the appropriate place.)

@marijnh marijnh requested a review from sandersn as a code owner November 4, 2020 12:48
@@ -93,6 +93,18 @@
"name": "change",
"type": "Event"
},
{
"name": "compositionstart",
Copy link
Contributor

Choose a reason for hiding this comment

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

Since there is no corresponding oncompositionstart etc., these should go to attributeless-events instead. Also, please run npm i && npm run build && npm run baseline-accept and commit the results.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the pointer! I've updated the patch.

@marijnh
Copy link
Contributor Author

marijnh commented Nov 20, 2020

Is there anything else I can do to move this forward?

@orta
Copy link
Contributor

orta commented Dec 21, 2020

Looks very available to me: https://caniuse.com/mdn-api_element_compositionstart_event - thanks

@orta orta merged commit 5800225 into microsoft:master Dec 21, 2020
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.

3 participants