You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Sort] Arrow does not display correctly inside a menu item #9758
I forked the stackblitz to update to Material 5.2. The arrow is still not displayed correctly, but the behavior has changed. Now, both sort headers display the arrow at all times and the arrow still looks like a T. Additionally, hovering the mouse over the inactive sort header causes its arrow to blink.
+1
I'm seeing the same thing on tables that exist within tabs. The table on the initial tab works fine, but the table on the 2nd tab has the T symbol beside each of the sortable column headers. Hovering over the header will remove the T when the mouse if moved away, but when you hover again, the T is shown (instead of an up or down arrow). Once a header item has been clicked three times (to remove the sort), hovering will show the arrow correctly (and not the T).
Was searching through the open issues and it looks like pull request #8921 will fix this issue. Hopefully it's released soon.
This is an Angular issue when content with animations is created without being on the page when initialized. We've added a mechanism to lazy-load content in tabs but this is the first I've seen this in the menu. We are hoping to re-work the sort animation (again) with some latest-and-greatest animations logic, but it will be likely be several months away before we get to this.
changed the title [-]MatSortHeader arrow does not display correctly inside MenuItem[/-][+][Sort] Arrow does not display correctly inside a menu item[/+]on Apr 23, 2018
Activity
adgoncal commentedon Feb 6, 2018
I forked the stackblitz to update to Material 5.2. The arrow is still not displayed correctly, but the behavior has changed. Now, both sort headers display the arrow at all times and the arrow still looks like a
T. Additionally, hovering the mouse over the inactive sort header causes its arrow to blink.https://stackblitz.com/edit/angular-cybhi8-tmntv4?file=app/sort-overview-example.html
JustACodeMonkey commentedon Feb 7, 2018
+1
I'm seeing the same thing on tables that exist within tabs. The table on the initial tab works fine, but the table on the 2nd tab has the T symbol beside each of the sortable column headers. Hovering over the header will remove the T when the mouse if moved away, but when you hover again, the T is shown (instead of an up or down arrow). Once a header item has been clicked three times (to remove the sort), hovering will show the arrow correctly (and not the T).
Was searching through the open issues and it looks like pull request #8921 will fix this issue. Hopefully it's released soon.
andrewseguin commentedon Feb 13, 2018
This is an Angular issue when content with animations is created without being on the page when initialized. We've added a mechanism to lazy-load content in tabs but this is the first I've seen this in the menu. We are hoping to re-work the sort animation (again) with some latest-and-greatest animations logic, but it will be likely be several months away before we get to this.
isurendrasingh commentedon Apr 16, 2018
This will work just add these in css
::ng-deep .mat-sort-header-arrow.ng-trigger.ng-trigger-arrowPosition {
opacity: 0;
}
::ng-deep .mat-sort-header-pointer-left.ng-trigger.ng-trigger-leftPointer{
transform: rotate(-45deg);
}
::ng-deep .mat-sort-header-pointer-right.ng-trigger.ng-trigger-rightPointer{
transform: rotate(45deg);
}
JustACodeMonkey commentedon Apr 17, 2018
@isurendrasingh Interesting. But it isn't working for me with Angular 5.2.9 and Material 5.2.4
[-]MatSortHeader arrow does not display correctly inside MenuItem[/-][+][Sort] Arrow does not display correctly inside a menu item[/+]megaterrarc commentedon May 18, 2018
the same is true for mat-table with any animation
fix(material/sort): simplify animations
fix(material/sort): simplify animations
fix(material/sort): simplify animations (#30057)
fix(material/sort): simplify animations (#30057)
angular-automatic-lock-bot commentedon Dec 28, 2024
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.