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

[AppBar] Add support for position="sticky" #10090

Merged

Conversation

scottastrophic
Copy link
Contributor

@scottastrophic scottastrophic commented Jan 29, 2018

Resolves #10085. I added sticky in all the places I could find that reference the AppBar positioning and reordered them consistently. Since sticky acts like a combination of static and fixed, I figured it should have the additional CSS rules for both, but not 100% sure on that point.

@mbrookes
Copy link
Member

You need to run npm run docs:api

@@ -91,7 +98,7 @@ AppBar.propTypes = {
/**
* The positioning type.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to briefly describe the different options.

@mbrookes mbrookes added component: app bar This is the name of the generic UI component, not the React module! new feature New feature or request labels Jan 30, 2018
@oliviertassinari oliviertassinari merged commit ddd4c66 into mui:v1-beta Jan 30, 2018
@oliviertassinari
Copy link
Member

@scottastrophic Thank you for this first time pull-request :).

@scottastrophic scottastrophic deleted the appbar-support-position-sticky branch June 28, 2018 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: app bar This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants