bug(table): sticky cell bottom border disappear
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
### 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

### Actual Behavior

### 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
Contributor guide
Research direction
Start with the linked StackBlitz reproduction, especially src/example/table-sticky-columns-example.html and src/example/table-sticky-columns-example.ts, and reproduce the sticky-column table with multiline content at different screen resolutions. Trace the Angular Material table styling and rendering involved; done means sticky cells consistently show their bottom borders in the reported cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100