Focus ring: keep the element's own shadow, with a public opt-out

Open
#15,398 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@msynk is already working on this.

Since Nov 20, 2026.

Assessment

This issue has not been assessed yet.

Description

area / BlazorUI

Component: focus-ring mixin (BitLink and others)

The focus ring is a box-shadow that replaces the element's own box-shadow. The only way out is the internal,
undocumented --bit-focus-ring-own, which the site sets to draw its own outline.

Evidence: src/Websites/Platform/src/Bit.Websites.Platform.Client/Styles/abstracts/_mixins.scss:134-139, src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Home/HomePage.razor.scss:427-431,
src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/ProductsPage.razor.scss:176-180

Proposal: a public --bit-Link-shadow (and the same per component), passed as the mixin's $also layer so the
element's shadow survives focus; document the focus-ring opt-out if it stays.

Coverage: complete.

Dominant language
C#
Stars
1.4k
Forks
264
Avg merge
7h 38m
Merged PRs (30d)
544

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bitfoundation/bitplatform

All issues in bitfoundation/bitplatform

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.