Could the AppBar incorporate a prop to fix it to the top?
@PolGuixe Use this style:
const styles = {
example: {
position: "fixed",
top: 0,
},
};
and incorporate in your AppBar like this:
<AppBar
title="Example"
style={styles.example}
/>
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} />