Skip to content

bug(BADGE): Content truncated #29788

Closed
@perotom

Description

@perotom

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

17

Description

Screenshot 2024-09-25 at 09 16 09

Reproduction

Just take a look at the latest version: https://material.angular.io/components/badge/overview

Expected Behavior

Badge should grow based on content

Actual Behavior

Only shows one letter, rest is truncated.

Environment

  • Angular: 18.2
  • CDK/Material: 18.2
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): MacOS

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/badge

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions