material icon indicating copy to clipboard operation
material copied to clipboard

Why is the rippling effect not extending to the edge of buttons?

Open uuns opened this issue 11 years ago • 2 comments

Is there a reason the ripple doesn't extend to the very far edge of the button? I really like the ripple effects on Material-UI buttons.

relevant links: http://material-ui.com/#/components/buttons https://github.com/callemall/material-ui/tree/master/src/js/ripples

uuns avatar Jan 27 '15 21:01 uuns

@uuns take a look at the https://material.angularjs.org/#/api/material.components.button/directive/mdButton md-ripple-size and https://github.com/angular/material/issues/1088.

ilanbiala avatar Jan 27 '15 21:01 ilanbiala

@uuns The buttons are based on the examples given in the Material Design spec here http://www.google.com/design/spec/components/buttons.html#buttons-flat-raised-buttons

However, earlier today, we added a method for manually overriding this to fill the button with this syntax: md-ripple-size="full"

This will be released in version 0.7.1.

robertmesserle avatar Jan 27 '15 22:01 robertmesserle