components icon indicating copy to clipboard operation
components copied to clipboard

mat-button ripple should respect border-radius

Open devinci opened this issue 8 years ago • 6 comments

Bug, feature request, or proposal:

[x] : Bug

What is the expected behavior?

Ripple effect should respect border-radius.

What is the current behavior?

Ripple ignores mat-button border-radius.

vid_16_1_2018_at_12_43_1 online-video-cutter com

What are the steps to reproduce?

Add border-radius to button

https://stackblitz.com/edit/angular-material2-issue-mykhbz

What is the use-case or motivation for changing an existing behavior?

Effects and child elements should respect parent styles unless otherwise defined.

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

OS: Windows 10 Browser: Chrome

Angular: 5.0.3 Angular-CLI: 1.5.4 Material: 5.0.0 TypeScript: 2.4.2

devinci avatar Jan 16 '18 13:01 devinci

This also happens on Tabs, when the tab group is given border radius, the first tab ripple will be square, while the top left (in ltr, and right in rtl) corner is rounded.

Eddygn avatar Jan 16 '18 18:01 Eddygn

That issue still occurs on Safari

Angular: 6.1.3 Angular-CLI: 6.1.3 Material: 6.4.5 TypeScript: 2.9.2

Mischazz avatar Aug 25 '18 11:08 Mischazz

@tinayuangao I confirm this issue still occurs on Safari

jbarnabe avatar Nov 08 '18 22:11 jbarnabe

catch this issue on Safari too "@angular/material": "6.4.7"

niklissad avatar Nov 13 '18 13:11 niklissad

I have this issue using MatRipple directive on: Chrome: 72 Angular: 7.2.11 Angular-CLI: 7.3.7 Material: 7.3.6

LuisReinoso avatar Jun 26 '19 19:06 LuisReinoso

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.