I am trying to remove this ripple effect from angular material checkbox, since I have a long list, and I want list rows to be as close as possible, ripples overlap with other checkboxes.
Current code is:
render() {
return (
<div class="mdc-form-field">
<div class="mdc-checkbox">
<input
type="checkbox"
class="mdc-checkbox__native-control"
disabled={this.disabled}
checked={this.isChecked}
onChange={this.onChangeAction}
/>
<div class="mdc-checkbox__background">
<svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24">
<path class="mdc-checkbox__checkmark-path" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59" />
</svg>
<div class="mdc-checkbox__mixedmark" />
</div>
</div>
</div>
);
}
and from inspecting the @material/checkbox (version 3.2.0), I see that there is a mixin
@mixin mdc-checkbox-without-ripple($query: mdc-feature-all())
which I am not sure how to use, because when I include it, it just doesn't work. Is there a way to remove the ripple by some class, which I overlooked in the library?