-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mdc-ripple or mdc-toolbar: Ripple is being cut out #2431
Comments
I think this is a subpixel rendering issue.
If you wrap the Change this line:
to this: this.initialSize_ = Math.floor(maxDim * MDCRippleFoundation.numbers.INITIAL_ORIGIN_SCALE); |
Thanks for filing this issue. We've added it to our tracker. |
This issue affects all unbounded ripples (e.g., icon-toggle). To correct my earlier comment: There are actually two CSS properties that get multiplied together to determine the rendered size of the ripple: --mdc-ripple-fg-size: 28.8px;
--mdc-ripple-fg-scale: 1.66667; I'm guessing that the cutoff happens because Surface element (48px):
|
Hi @acdvorak, why not have a |
What MDC Web Version are you using?
What browser(s) is this bug affecting?
What OS are you using?
What are the steps to reproduce the bug?
What is the expected behavior?
What is the actual behavior?
Chrome:
Edge:
Any other information you believe would be useful?
The text was updated successfully, but these errors were encountered: