Use StackBlitz to reproduce your issue:
https://stackblitz.com/edit/angular-dluque
Steps to reproduce:
What behavior were you expecting to see?
Arrow trigger works fine and as the same as all other columns
What behavior did you actually see?
The arrow is not showed
any updates?
Guys, anything??
updates?
Any updates? same here, when using dialog the first column header sorting arrow is not showing.
Any updates? same here, when using dialog the first column header sorting arrow is not showing.
i think that we will never know the answer =D
I'm seeing this behavior in a mat-expansion-panel as well. Any updates?
@jackmparker . Guys. You can solve it if you change initial focus in mat dialog. Use cdkFocusInitial.
Use cdkFocusInitia
how ?
Using the cdkFocusInitial directive does fix the issue.
Here's the forked Stackblitz.
Here's the gist of it:
<table
class="mat-elevation-z8"
mat-table
matSort
+ cdkFocusInitial
[dataSource]="dataSource">
@ccjmne that works. Thank you so much!
@ccjmne works fine to me! Thanks!
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Using the
cdkFocusInitialdirective does fix the issue.Here's the forked Stackblitz.
Here's the gist of it: