We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61a213 commit 1566ab1Copy full SHA for 1566ab1
src/material/slide-toggle/slide-toggle.ts
@@ -180,6 +180,7 @@ export abstract class _MatSlideToggleBase<T>
180
this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {
181
if (focusOrigin === 'keyboard' || focusOrigin === 'program') {
182
this._focused = true;
183
+ this._changeDetectorRef.markForCheck();
184
} else if (!focusOrigin) {
185
// When a focused element becomes disabled, the browser *immediately* fires a blur event.
186
// Angular does not expect events to be raised during change detection, so any state
0 commit comments