Material-ui: Drawer Elevation doesn't work when paper class is defined

Created on 4 Mar 2019  路  2Comments  路  Source: mui-org/material-ui

  • [X] This is not a v0.x issue.
  • [X] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 馃

Drawer with an elevation of 1 has a 1dp elevation for the underlying paper when paper is is defined in classes

Current Behavior 馃槸

Drawer with an elevation of 1 has no elevation for the underlying paper when paper is is defined in classes

Steps to Reproduce 馃暪

Link:

  1. https://codesandbox.io/s/8116r7qkr2

Context 馃敠

Get the drawer to elevate by 1 dp

Your Environment 馃寧

| Tech | Version |
|--------------|---------|
| Material-UI | ^v3.6.1 |
| React | ^v16.6.0 |
| Browser | Chrome 72.0.3626.109 |
| TypeScript | ^3.2.2 |

Drawer question

Most helpful comment

@bhldev Have you tried?

<Drawer PaperProps={{ elevation: 10 }}>

All 2 comments

@bhldev Have you tried?

<Drawer PaperProps={{ elevation: 10 }}>
Was this page helpful?
0 / 5 - 0 ratings

Related issues

rbozan picture rbozan  路  3Comments

mattmiddlesworth picture mattmiddlesworth  路  3Comments

zabojad picture zabojad  路  3Comments

reflog picture reflog  路  3Comments

activatedgeek picture activatedgeek  路  3Comments