Skip to content

[Table] Add better support for horizontal scrolling #8680

@trungi

Description

@trungi

Bug, feature request, or proposal:

Bug

What is the expected behavior?

I should be able to create a mat-table element with width larger than its container and set it to overflow: auto; to create a scrollbar.

What is the current behavior?

Rows are not correctly rendered when I move scrollbar to the right.

What are the steps to reproduce?

http://plnkr.co/edit/wv9KxNPBC9hLpZfFegiB?p=preview

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

Table is rendered incorrectly. I need to render a lot of data inside mat-table even on small screens, so I need to use scrollbar.

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

"@angular/core": "^5.0.0",
"@angular/material": "^5.0.0-rc.1",
"@angular/cdk": "^5.0.0-rc.1",

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions