angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.35k stars 6.74k forks source link

Sticky header for lists #16518

Open saffabook opened 5 years ago

saffabook commented 5 years ago

Feature Description

Subheaders sticky on lists. This link shows perfectly how material.angularjs.org is using it. https://material.angularjs.org/latest/demo/subheader

Use Case

This will work nicely from a UI point of view for mobile devices where lists can get long. The example link shows division of messages quite nicely.

andrewseguin commented 5 years ago

It'd be nice for this to be supported through an API, but for now you can do this fairly easily using position: sticky, which is what we do for the sticky table header:

https://stackblitz.com/edit/angular-axk93w?file=app/list-overview-example.html

angular-robot[bot] commented 2 years ago

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] commented 2 years ago

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.