Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sticky header for lists #16518

Open
saffabook opened this issue Jul 15, 2019 · 3 comments
Open

Sticky header for lists #16518

saffabook opened this issue Jul 15, 2019 · 3 comments
Labels
area: material/list feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions

Comments

@saffabook
Copy link

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.

@saffabook saffabook added the feature This issue represents a new feature or feature request rather than a bug or bug fix label Jul 15, 2019
@andrewseguin
Copy link
Contributor

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

@andrewseguin andrewseguin added the P4 A relatively minor issue that is not relevant to core functions label Jul 19, 2019
@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 21, 2022

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
Copy link
Contributor

angular-robot bot commented Mar 13, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: material/list feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
Development

No branches or pull requests

2 participants