React Material:UI Cookbook
上QQ阅读APP看书,第一时间看更新

How it works...

If you scroll down, you'll see how the AppBar component stays fixed, and the content scrolls behind it. Here's what it looks like if you scroll to the bottom of the page in this example:

The position property defaults to fixed. However, explicitly setting this property can help readers better understand your code.