bug(mat-card): mat-elevation-zx no longer working for mat-card after upgrade to version 15
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### Is this a regression?
- [X] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
14
### Description
I have some mat-cards with specific elevations set, like for example: `class=mat-elevation-z4`
After the upgrade from 14 to 15, the cards are no longer affected by any mat-elevation classes I add.
### Reproduction
Steps to reproduce:
1. in a template, use `test`
2. notice that the elevation helper class has no effect on the mat-card's elevation
### Expected Behavior
Expecting the mat-elevation-z_x_ classes to modify the mat-card's elevation.
### Actual Behavior
elevation is not affected by adding, for example, `class="mat-elevation-z8"`
### Environment
- Angular: 15.0.0
- CDK/Material: 15.0.0
- Browser(s): Edge/Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
コントリビューションガイド
調査の方向性
Angular と CDK/Material 15.0.0 を使用し、test を含むテンプレートで問題を再現してから、バージョン 14 と結果を比較します。完了条件は、mat-elevation-zx ヘルパークラスによってカードの elevation が再び目に見えて変更されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100