-
Notifications
You must be signed in to change notification settings - Fork 27k
fix(platform-browser): DomEventsPlugin should always be the last plugin to be called for supports().
#50394
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
Conversation
f223c82 to
60a97de
Compare
57065c6 to
fdab3b4
Compare
fdab3b4 to
9290de1
Compare
623f32e to
8edee8b
Compare
alxhub
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the g3 failures, it looks like g3 expects to import EventManagerPlugin from the event_manager.ts file. We could update g3 when we land this change, but I don't think there's a reason to separate EventManagerPlugin into a separate file anymore - how would you feel about keeping it in event_manager.ts?
8edee8b to
beaca5d
Compare
|
It makes sense, we're down to 3 changed files. |
|
The current change ended up breaking at least one app inside Google. Currently investigating a bit why. |
45784dc to
d0d16c7
Compare
|
I reverted to using Running a TGP to make sure we're good to go. |
|
Removing the merge label, this change still needs an approval |
thePunderWoman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ugin to be called for `supports()`. This fixes the issues when `BrowserModule` is not the first module imported. Fixes angular#37149 angular#37850
d0d16c7 to
4170765
Compare
This fixes the issues when
BrowserModuleis not the first module imported.I choose not to introduce a specific token for the
DomEventsPluginas this would likely be breaking.Fixes #37149 #37850
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?