Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

mdInkRipple: fab button with md-icon has wrong ripple placement #5917

@mckenzielong

Description

@mckenzielong

The ripple is incorrectly placed when using a fab button that contains an md-icon. A plain text fab button will have the correct ripple placement. The ripple will incorrectly start from the top left of the button unless clicking near the bottom right of the fab.

Browsers and OS: Opera 33 / Chrome 46 - Windows 7 x64
Reproduce: this codepen click on the good or test button near the center to get a feel for how the ripple should be displayed. Click on one of the icon fabs near the center and notice that the ripple will start from the top left.
Suggested Fix: haven't really had a chance to look... is offsetX/Y behaviour stable?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions