-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
bug(Stroked Button): white space between the opacity layer and the outline using the outlined-container-shape token #30484
Labels
area: material/button
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 18, 2025
…der radius is customized Fixes that the focus overlay on outlined buttons wasn't covering the outlined button fully when its border radius is customized. Fixes angular#30484.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 19, 2025
…der radius is customized Fixes that the focus overlay on outlined buttons wasn't covering the outlined button fully when its border radius is customized. Fixes angular#30484.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 24, 2025
…der radius is customized Fixes that the focus overlay on outlined buttons wasn't covering the outlined button fully when its border radius is customized. Fixes angular#30484.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 24, 2025
…der radius is customized Fixes that the focus overlay on outlined buttons wasn't covering the outlined button fully when its border radius is customized. Fixes angular#30484.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: material/button
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
No response
Description
I'm currently using a button-override with an outlined-container-shape set to 8px. It appears that the border-radius of the outline is smaller than that of the state's opacity layer. This is causing a white space to appear in the corners of the button, between the outline and the opacity layer.
Reproduction
StackBlitz link: I'm having trouble with the "Installing dependencies" step
Steps to reproduce:
Expected Behavior
The opacity layer should fully cover the hole within the outline, in the hover, active and pressed states.
Actual Behavior
the opacity layer is smaller, leaving visible white gaps.
Environment
The text was updated successfully, but these errors were encountered: