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

[Docs] Support for Bottom bar? #3109

Closed
nikos opened this issue Jan 30, 2016 · 8 comments
Closed

[Docs] Support for Bottom bar? #3109

nikos opened this issue Jan 30, 2016 · 8 comments
Labels
docs Improvements or additions to the documentation

Comments

@nikos
Copy link

nikos commented Jan 30, 2016

Is there currently a way, which allows to implement a bottom bar (specifically in a mobile app scenario), as described in the Material Design structure documentation to ensure a tool bar is rendered at the very bottom of the screen (fixed)?

@mbrookes
Copy link
Member

Material-UI doesn't provide layout per-se (although some comes for free with the natural positioning of AppBar & LeftNav), however this is easily achievable with flexbox or other layout approaches. Search issues for suggestions.

@nikos
Copy link
Author

nikos commented Jan 31, 2016

Hi Matt, sorry when searching for similar issues, all I can find are open feature requests, like #282 (Bottom Sheet component) and #2126. Could you please share a starting point what you mean regarding how to achieve a bottom bar with the help of flexbox?
Thanks, Niko

@mbrookes
Copy link
Member

There isn't a fully worked example, but plenty of suggestions for layout resources: #3066

Thinking about it, you could also use the Snackbar code as a starting point to build your own component. Let us know if you come up with something reusable!

@ShallmentMo
Copy link

@nikos do you have any idea how to do this now? I am facing the same problem, too. Thanks

@nikos
Copy link
Author

nikos commented Feb 1, 2016

@ShallmentMo kind of, I took the "Left Nav" and modified the CSS and mouse position changes to work with a bottom bar, please have a look and if you find problems I would love to get feedback and suggestions on how to improve it.

@ShallmentMo
Copy link

@nikos It seems to be OK! Thanks a lot

@Sharper044
Copy link

Or set in the styles object in the file to have top: 'auto'. That will override the top: 0 command and let you use bottom: 0 no problem.

@mbrookes
Copy link
Member

Locking as outdated (this is from 2016).

In v1 we have [Bottom Navigation](https://material-ui.com/demos/bottom-navigation/], Grid layout, and page layout examples, so the original question and responses are no longer valid.

@mui mui locked as resolved and limited conversation to collaborators Aug 17, 2018
@zannager zannager added the docs Improvements or additions to the documentation label Dec 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

No branches or pull requests

5 participants