Can anyone explain the concept of zDepth to me? I have a component with the following render method:
render() {
return (
<div>
<AppBar
zDepth={2}
title="Some title"
iconElementLeft={<IconButton onClick={this.handleToggle}><NavigationClose /></IconButton>}
/>
<Drawer
open={this.state.open}
width={200}
zDepth={1}>
<MenuItem>Menu Item</MenuItem>
<MenuItem>Menu Item 2</MenuItem>
</Drawer>
</div>
)
}
I was expecting that the AppBar would be rendered in front of the Drawer, but it doesn't work that way: