File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ export class MatDrawerContent extends CdkScrollable implements AfterContentInit
165165 // this was also done by the animations module which some internal tests seem to depend on.
166166 // Simulate it by toggling the `hidden` attribute instead.
167167 '[style.visibility]' : '(!_container && !opened) ? "hidden" : null' ,
168- 'tabIndex' : '(mode !== "side") ? "-1" : null' ,
168+ '[attr. tabIndex] ' : '(mode !== "side") ? "-1" : null' ,
169169 } ,
170170 changeDetection : ChangeDetectionStrategy . OnPush ,
171171 encapsulation : ViewEncapsulation . None ,
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class MatSidenavContent extends MatDrawerContent {}
4747 templateUrl : 'drawer.html' ,
4848 host : {
4949 'class' : 'mat-drawer mat-sidenav' ,
50- 'tabIndex' : '-1 ' ,
50+ '[attr. tabIndex] ' : '(mode !== "side") ? "-1" : null ' ,
5151 // must prevent the browser from aligning text based on value
5252 '[attr.align]' : 'null' ,
5353 '[class.mat-drawer-end]' : 'position === "end"' ,
You can’t perform that action at this time.
0 commit comments