Skip to content

[Bug]: Avatar's badge has a solid color border instead of being transparent to the background #26274

@behowell

Description

@behowell

Library

React Components / v9 (@fluentui/react-components)

System Info

N/A

Are you reporting Accessibility issue?

no

Reproduction

https://codesandbox.io/s/long-feather-850pbf?file=/example.tsx

Bug Description

Actual Behavior

The gap between the Avatar and its badge is a solid color border, which matches the default background color. This results in a visible border around the badge when it is placed on another color background.

image

Expected Behavior

The gap between the Avatar and badge should be transparent to the background, and there should be no border visible around the badge.

image

Logs

No response

Requested priority

Normal

Products/sites affected

No response

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions