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 e4a1f54 commit a1c6329Copy full SHA for a1c6329
src/material/sidenav/drawer.ts
@@ -165,7 +165,7 @@ export class MatDrawerContent extends CdkScrollable implements AfterContentInit
165
// this was also done by the animations module which some internal tests seem to depend on.
166
// Simulate it by toggling the `hidden` attribute instead.
167
'[style.visibility]': '(!_container && !opened) ? "hidden" : null',
168
- 'tabIndex': '-1',
+ '[attr.tabindex]': 'mode === "side" ? null : "-1"',
169
},
170
changeDetection: ChangeDetectionStrategy.OnPush,
171
encapsulation: ViewEncapsulation.None,
0 commit comments