angular / angular/components

bug(material/table): fixedLayout not applied

オープン
#26,565 コメント 9 件 リアクション 4 件 担当者 0 名 GitHub で見る
area: material/table P3
主要言語
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.2.0

### Description

If the attribute fixedLayout is set, the styling is not applied. The corresponding css classes are, but the style not. Table layout is always set to auto.

### Reproduction

Steps to reproduce:
1. set fixedLayout to true
2. Check the style of table

### Expected Behavior

The table-layout: fixed style is applied

### Actual Behavior

The table-layout: auto style is applied, wenn fixedLayout is true

### Environment

- Angular:15.1.1
- CDK/Material:15.1.1
- Browser(s):Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): MacOs

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

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

調査の方向性

issue にはファイルもテストも記載されていません。Angular 15.1.1 で Material table を使用し、fixedLayout を true に設定して問題を再現し、その後、テーブルの実装とスタイルを追跡します。テーブルが auto ではなく table-layout: fixed を使用し、既存のリグレッション動作が復元されれば完了です。

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

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
50/100

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

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