Closed fanalin closed 7 months ago
Can confirm this. Not sure if the binding is still needed. I created a PR and will ask Max to have a look.
It's merged. But since it does not affect the runtime atm, I decided to not build a hotfix version for that. It will be part of the next regular release.
The aria-sort attribute of the th is a bunch of javascript when the column hasn't been ordered by.
aria-sort="_getAriaSortAttribute() { if (!this._isSorted()) { return "none"; } return this.getSortDirection() === "asc" ? "ascending" : "descending"; }"
When I click on the column header, the javascript is correctly executed and the aria-sort attribute is set to ascending/descending.
Tested with the latest angular, angular-material (17.3) and ngx-mat-multi-sort (17.1.0), but issue is also found in older versions.