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 7ab0ef4 commit 47c4710Copy full SHA for 47c4710
src/material/sort/sort-header.ts
@@ -175,7 +175,7 @@ export class MatSortHeader extends _MatSortHeaderBase
175
private _focusMonitor: FocusMonitor,
176
private _elementRef: ElementRef<HTMLElement>,
177
/** @breaking-change 14.0.0 _ariaDescriber will be required. */
178
- @Optional() private _ariaDescriber?: AriaDescriber | null) {
+ @Inject(AriaDescriber) @Optional() private _ariaDescriber?: AriaDescriber | null) {
179
// Note that we use a string token for the `_columnDef`, because the value is provided both by
180
// `material/table` and `cdk/table` and we can't have the CDK depending on Material,
181
// and we want to avoid having the sort header depending on the CDK table because
0 commit comments