Components: Mat-Table : Add vertical scrolling only on mat rows and not on mat header row.

Created on 4 Apr 2018  路  4Comments  路  Source: angular/components

Bug, feature request, or proposal:

Proposal

What is the expected behavior?

Scroll should start from mat-rows ( tbody ) and not mat-header-rows (thead) .

What is the current behavior?

Right now , adding a scroll to mat-table, adds an overflow, starting from the header row level.

What are the steps to reproduce?

https://stackblitz.com/angular/jxdglymymvg?file=app%2Ftable-filtering-example.ts
Scroll appears at thead level ( mat-header- rows )

What is the use-case or motivation for changing an existing behavior?

The header usually remained fixed and overflow starts from tbody level.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular Version : 5.1
Angular Material Version : 5.1.1

Most helpful comment

How do we still not have scrollable tables in the year 2018? Who's running the show around here?

All 4 comments

Duplicate of #5885

How do we still not have scrollable tables in the year 2018? Who's running the show around here?

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

theunreal picture theunreal  路  3Comments

Hiblton picture Hiblton  路  3Comments

LoganDupont picture LoganDupont  路  3Comments

crutchcorn picture crutchcorn  路  3Comments

constantinlucian picture constantinlucian  路  3Comments