Skip to content

[Sort] Arrow does not display correctly inside a menu item #9758

Closed
@adgoncal

Description

@adgoncal

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Arrow should display

What is the current behavior?

MatSortHeader arrow has wrong shape the first time the menu opens, and disappears if you click on a menu item or close and reopen the menu.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-cybhi8-hm3g5s?file=app%2Fsort-overview-example.html

Step 1: Open menu. The arrow shape is wrong.
Step 2: Either close the menu or click one of the menu items. Reopen menu and the arrow is gone.

matsortheader arrow inside matmenuitem

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular: 5
Material: 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/menuarea: material/sort

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions