components icon indicating copy to clipboard operation
components copied to clipboard

Grid to resize based on content

Open georgeedwards opened this issue 10 years ago • 3 comments

Bug, feature request, or proposal:

Feature Request

What is the expected behavior?

An "auto" option for the grid row height option, so the grid's row will automatically size to accomodate the tallest element in that row.

What is the current behavior?

You must specify an exact height, or fill, so if you are embedding a component in a grid cell (where you may not know how large it will be) and the page may extend beyond one screen (i.e. scroll), then it is not currently possible to ensure the grid's contents get displayed properly.

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue. Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

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

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

Is there anything else we should know?

georgeedwards avatar Oct 23 '16 20:10 georgeedwards

I am looking forward to this feature too. In addition, is it possible to have a tile level height setting rather than grid-list level only?

zealitude avatar Dec 16 '16 03:12 zealitude

Closing this because we are pretty unlikely to add new features to MatGridList going forward now that CSS Grid provides a significantly more robust tool for creating this style of layout.

jelbourn avatar Aug 05 '21 21:08 jelbourn

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.