angular / angular/components

bug(table): sticky cell bottom border disappear

オープン
#30,753 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
area: material/table 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

mat-table cells inside sticky column can have their bottom border not showing depending on screen resolution and other cells content.

The issue seems to occurs whenever a content inside another cell is on multiple lines.

### Reproduction

StackBlitz link: https://stackblitz.com/edit/ck7hvid5-de9nrqus?file=src%2Fexample%2Ftable-sticky-columns-example.html,src%2Fexample%2Ftable-sticky-columns-example.ts

### Expected Behavior

![Image](https://github.com/user-attachments/assets/8015d96b-dd9b-45fb-bbbd-54a1d9e8628c)

### Actual Behavior

![Image](https://github.com/user-attachments/assets/85b0a304-6442-41e6-8a47-99b7a5a7623e)

### Environment

Angular CLI: 19.2.0
Node: 18.20.3
Package Manager: npm 10.2.3
OS: linux x64

Angular: 19.2.0
... animations, cli, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router

Package Version
------------------------------------------------------------
@angular-devkit/architect 0.1902.0
@angular-devkit/build-angular 19.2.0
@angular-devkit/core 19.2.0
@angular-devkit/schematics 19.2.0
@angular/cdk 19.2.1
@angular/material 19.2.1
@angular/material-moment-adapter 19.2.1
@schematics/angular 19.2.0
rxjs 7.4.0
typescript 5.8.2
zone.js 0.15.0

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

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

調査の方向性

リンクされた StackBlitz の再現から始め、特に src/example/table-sticky-columns-example.html と src/example/table-sticky-columns-example.ts を確認し、異なる画面解像度で複数行のコンテンツを含む sticky 列のテーブルを再現します。関係する Angular Material のテーブルのスタイル設定とレンダリングを追跡します;報告されたケースで sticky セルに下辺の境界線が一貫して表示されれば完了です。

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

評価

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

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

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