Material-ui: Fixed AppBar

Created on 19 Aug 2016  路  1Comment  路  Source: mui-org/material-ui

Could the AppBar incorporate a prop to fix it to the top?

Most helpful comment

@PolGuixe Use this style:

const styles = { example: { position: "fixed", top: 0, }, };
and incorporate in your AppBar like this:

<AppBar title="Example" style={styles.example} />

>All comments

@PolGuixe Use this style:

const styles = { example: { position: "fixed", top: 0, }, };
and incorporate in your AppBar like this:

<AppBar title="Example" style={styles.example} />

Was this page helpful?
0 / 5 - 0 ratings

Related issues

newoga picture newoga  路  3Comments

finaiized picture finaiized  路  3Comments

mattmiddlesworth picture mattmiddlesworth  路  3Comments

activatedgeek picture activatedgeek  路  3Comments

rbozan picture rbozan  路  3Comments