Skip to content

Menu, autocomplete, and datepicker should remove CSS classes from inert panel element #4484

@jelbourn

Description

@jelbourn

If you have

<md-menu #options class="borange">
  ...
</md-menu>

The css classes are copied to the panel element inside the overlay. However, the classes also remain on the empty <md-menu> element in the page. We should remove all classes from the md-menu element.

This behavior should apply to menu, autocomplete, and datepicker.

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions