-
Notifications
You must be signed in to change notification settings - Fork 77
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
Link: add ability to use outset focus outline positioning #6588
Comments
Agree - @ashetland / @SkyeSeitz are there any places reverting to outset as the default would cause an issue? Maybe somewhere link is expected to be slotted? |
Agree as well. For slotted links, looking at something like Notice /Alert, I'd expect the same behavior. Not sure why it got changed to inset. |
Related issue #4633 |
For this one in particular, we should just revert link to use outset. |
**Related Issue:** #6588 ## Summary This PR will add back the `2px` outline-offset for `calcite-link`.
Installed and assigned for verification. |
Description
We are receiving issues where users think the focus style of the link element is a bug. The default position of the outline ring on a link is -2px inset. This means the outline overlaps the text. There is no way to customize this.
We are asking for either:
Acceptance Criteria
We should be able to have the outline at 2px offset
Relevant Info
Link actually used to use the outset focus style. d2f95a6#diff-9f60eb4702a4bb9e8e5a80c284b3695e8dba637ae48738791a6961b8de9c12c1R46
I'm not sure why it was changed, presumably some need from using the link component internally? Outset seems like a more usable default for links in the run of text.
Which Component
calcite-link
Example Use Case
Really any link use case.
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: