Skip to content

[Bug]: SegmentedGauge shows a spurious 1px coloured border with customColor #2197

Description

@soulcramer

Outcome

When a customColor is passed to SegmentedGauge, no unintended coloured border appears on the indicator.

Problem

A thin (~1px) coloured border persists on the SegmentedGauge indicator when customColor is supplied. The border should not be rendered. The issue is cosmetic but visible at close inspection. Confirmed in #lbc-spark-android on 2026-07-30; a maintainer acknowledged it but no ticket was filed.

Context

The indicator drawing logic in SegmentedGauge likely applies a stroke or border derived from the custom colour that is not guarded or zeroed out when it should be absent.

Scope

  • Remove or suppress the unintended border when customColor is set.

Acceptance criteria

  • Passing any customColor to SegmentedGauge produces an indicator with no visible coloured border.
  • A screenshot test (or an update to an existing one) covers the customColor variant and asserts no border is present.

Evidence

Metadata

Metadata

Assignees

No one assigned

    Labels

    LLMMainly built by a LLMbugBug to fixcomponentRelated to a componentpriority:LOWNice to have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions