material-components / material-components/material-web
Text Field Outline/Border Color breaks under Label into a Black Segment
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 11.3k
- Forks
- 1.1k
- Avg merge
- 20h 28m
- Merged PRs (30d)
- 13
Description
### What is affected?
Component, Theming
### Description
When I use a m3 web component in a svelte app, the outline is not consistently the primary color, instead, under where the label is, the outline becomes partially black.
### Reproduction
https://secret.labs.tozny.com/create
### Workaround
have not
### Is this a regression?
No or unsure. This never worked, or I haven't tried before.
### Affected versions
failing @material/web@1.5.1
### Browser/OS/Node environment
node: v20.14.0
safari: Version 17.4 (19618.1.15.11.12)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue at the linked create page with @material/web@1.5.1 in the reported Svelte, Safari, and Node environment. Inspect the text field component's theming and outline behavior; done means the outline remains the primary color beneath the label without the black segment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scss
- Domain
- design, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100