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

finaiized picture finaiized  路  3Comments

anthony-dandrea picture anthony-dandrea  路  3Comments

ghost picture ghost  路  3Comments

newoga picture newoga  路  3Comments

mb-copart picture mb-copart  路  3Comments