angular / angular/components

bug(COMPONENT): MatBadge goes under the chip

オープン
#29,543 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: material/badge area: material/chips P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

### 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

_No response_

### Description

![image](https://github.com/user-attachments/assets/d299ad13-dc2d-448b-8e8f-3365effc2225)

The bagde, as shown in the picture, goes under the chip.

### Reproduction

StackBlitz link:
Steps to reproduce:
1.
2.

### Expected Behavior

Check the picture, is very clear.

### Actual Behavior

Check the picture, is very clear.

### Environment

- Angular: 18.1
- CDK/Material: 18.1
- Browser(s): Edge
- Operating System (e.g. Windows, macOS, Ubuntu): Windows

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ソースファイル、テスト、StackBlitz の再現、または利用可能な再現手順は示されていません。まず、添付画像をもとに Edge で Angular 18.1 Material の badge と chip の重なりを再現し、次に badge コンポーネントと chip コンポーネントのスタイルを追跡してください。badge が chip よりも視覚的に上に留まり、その動作が適切なリグレッションテストでカバーされれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。