-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/button
Description
Bug:
when using mat-icon button, the area which triggers the button extends beyond the element.

What is the expected behavior?
the hover area is contained within the element.
What is the current behaviour?
the area extends beyond the element, possibly related to the text within the element which is replaced inside
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
https://stackblitz.com/edit/angular-material2-issue-1ydtyw?file=app/app.component.html
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Chrome 66 & maybe others...
Is there anything else we should know?
setting overflow: hidden on mat-icon-button rectifies the issue
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/button