Skip to content
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

Background color of the outlined-button component doesn't get filled on hover or btn-pressed #5632

Open
saurypande opened this issue May 29, 2024 · 0 comments

Comments

@saurypande
Copy link

What is affected?

Component

Description

When I modify the shape of the outlined-button by applying this property --md-outlined-button-container-shape: 8px
Then I could see on the edges the background color is not fully filled on all 4 sides when hover or button is pressed.

Button

Reproduction

Please zoom in to have a better view of the issue:

https://lit.dev/playground/#project=W3sibmFtZSI6Im1hdGVyaWFsLWltcG9ydHMuanMiLCJjb250ZW50IjoiaW1wb3J0IFwiQG1hdGVyaWFsL3dlYi9idXR0b24vb3V0bGluZWQtYnV0dG9uLmpzXCI7In0seyJuYW1lIjoiaW5kZXguaHRtbCIsImNvbnRlbnQiOiI8IURPQ1RZUEUgaHRtbD5cbjxzY3JpcHQgdHlwZT1cIm1vZHVsZVwiIHNyYz1cIi4vbWF0ZXJpYWwtaW1wb3J0cy5qc1wiPjwvc2NyaXB0PlxuICA8c3R5bGU-XG4gICAgOnJvb3Qge1xuICAgICAgLS1tZC1zeXMtY29sb3ItcHJpbWFyeTogYmxhY2s7XG4gICAgICAtLW1kLW91dGxpbmVkLWJ1dHRvbi1jb250YWluZXItc2hhcGU6IDhweFxuICAgIH1cbiAgXG4gIDwvc3R5bGU-XG48bWQtb3V0bGluZWQtYnV0dG9uPkEgbWF0ZXJpYWwgYnV0dG9uPC9tZC1vdXRsaW5lZC1idXR0b24-XG4ifSx7Im5hbWUiOiJwYWNrYWdlLmpzb24iLCJjb250ZW50Ijoie1xuICBcImRlcGVuZGVuY2llc1wiOiB7XG4gICAgXCJsaXRcIjogXCJeMi4wLjBcIixcbiAgICBcIkBsaXQvcmVhY3RpdmUtZWxlbWVudFwiOiBcIl4xLjAuMFwiLFxuICAgIFwibGl0LWVsZW1lbnRcIjogXCJeMy4wLjBcIixcbiAgICBcImxpdC1odG1sXCI6IFwiXjIuMC4wXCJcbiAgfVxufSIsImhpZGRlbiI6dHJ1ZX1d

Workaround

I have not found a workaround

Is this a regression?

No or unsure. This never worked, or I haven't tried before.

Affected versions

1.4.0, 1.5.0

Browser/OS/Node environment

Browser: Chrome, Firefox, Safari

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant