Skip to content

mat-table: Rows and table elements widths don't grow according to cell widths #9874

@AbakumovAlexandr

Description

@AbakumovAlexandr

Bug, feature request, or proposal:

Bug.

What is the expected behavior?

Rows and table elements widths grow according to cell widths so cells don't overflow them.

What is the current behavior?

Rows and table elements widths don't grow according to cell widths and cells overflow them.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-table-min-width
The width of the viewport must be less than 1000px (combined cells' width) in order to see how cells overflow row and table elements.

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

It creates tricky issues especially when you deal with horizontal scrolling.

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

Material 5.2.0.

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions