How to set material-ui drawer inside a container in reactjs?
I wrapped my app page in container with 600px max width. I would like to set the drawer to start into that container not in the body page (picture). I am using app bar position as absolute to implement on scroll events, so would not like to change it.
Here is codesandbox example code: https://codesandbox.io/s/material-drawer-e6vrc?file=/header.js
I found a discussion about it here, but I did not figure out how to make it work in my example. From that I tried:
ModalProps={{
container: document.getElementById("appContainerDiv"),
style: { position: "absolute" }
}}
