-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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(slide-toggle): invalid model change event #4220
fix(slide-toggle): invalid model change event #4220
Conversation
11a28f7
to
ea7d1d9
Compare
Ah sorry, didn't assign @tinayuangao for review here, because @kara reverted the PR before 😄 |
ea7d1d9
to
051aaa5
Compare
@tinayuangao Can you review this again? This basically is the old PR just with the |
LGTM |
@tinayuangao Thanks. @kara I'm going to mark this as merge ready now. Let me know if there are any failures again. |
Presubmit error is that one team's e2e tests are failing, but it's not clear why. We need to follow-up with that team. |
051aaa5
to
2f8cd37
Compare
Rebased. |
@tinayuangao @kara Can you review this? I removed |
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
Please rebase |
f8a80b6
to
c456d86
Compare
@mmalerba Done! |
any progress? |
8f8d9b5
to
0a73fe2
Compare
Rebased. I just need more information what's causing the presubmit failures. cc. @mmalerba |
…r#4218) While initially looking into angular#4124, there were a few more issues inside of the slide-toggle. * ngModelChange event is dispatched at initialization. * Checked state isn't synchronized when state changes through drag. New state after dragging got overwritten by click event on label. * Removes unnecessary logic inside of `change` listener. Change event doesn't fire if underlying checkbox is disabled. Fixes angular#4124.
0a73fe2
to
36dea28
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
While initially looking into #4124, there were a few more issues inside
of the slide-toggle.
ngModelChange event is dispatched at initialization.
Checked state isn't synchronized when state changes through drag. New state after dragging got overwritten by click event on label.
Removes unnecessary logic inside of
change
listener. Change event doesn't fire if underlying checkbox is disabled.Fixes #4124.