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

focusStrokeWidth not applied on text-field and number-field #5565

Closed
fcollonval opened this issue Feb 6, 2022 · 1 comment · Fixed by #5566
Closed

focusStrokeWidth not applied on text-field and number-field #5565

fcollonval opened this issue Feb 6, 2022 · 1 comment · Fixed by #5566
Labels
bug A bug community:good-first-issue Good issues for first time contributors

Comments

@fcollonval
Copy link
Contributor

In text field and number field the box-shadow width is constant

box-shadow: 0 0 0 1px ${focusStrokeOuter} inset;

But in select it is using the design token focusStrokeWidth

box-shadow: 0 0 0 calc(${focusStrokeWidth} * 1px) ${focusStrokeOuter};

What is the reason behind that discrepancy?

@chrisdholt
Copy link
Member

Looks like a bug, thanks for filing!

@chrisdholt chrisdholt added area:fast-components bug A bug community:good-first-issue Good issues for first time contributors labels Feb 6, 2022
fcollonval added a commit to fcollonval/fast that referenced this issue Feb 7, 2022
chrisdholt pushed a commit that referenced this issue Feb 7, 2022
* `focusStrokeWidth` not applied on text-field and number-field
Fixes #5565

* Change files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug community:good-first-issue Good issues for first time contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants