Drawer should not show up on re-render
If the Drawer component is re-rendered, the nested Paper component loses its transform style setting and the drawer is shown despite open=false
I believe this has something to do with the code removed from the Slide component with this update
| Tech | Version |
|--------------|---------|
| Material-UI | 1.0.0-beta.19 |
| React | v16 |
| browser | Chrome, Firefox |
| etc | |
Thanks for raising the issue!
Not sure if you want me to file a separate issue, but I just ran into something very closely related to this. When the drawer is closed, if you add content to the drawer, changing its height, the content will spill onto the screen. It's most noticeable on anchor="bottom", but, also happens on side anchors (but you must add much more content before its manifests.
Here is a demo: https://codesandbox.io/s/vqvzk2zv2y
You can see the Sandbox is using beta.31
Most helpful comment
Thanks for raising the issue!