Material-ui: Cannot customize width and height of dialog

Created on 12 Dec 2017  路  1Comment  路  Source: mui-org/material-ui


We want to have a dialog with scroll bar where we want height of dialog to be fixed, irrespective of number of items inside list. We have observed height can be increased from certain height but not decrease. We tried various styling but it's not working.

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

Expected Behavior


Height should be customizable.

Current Behavior


Height of dialog is proportional to number of items.

Steps to Reproduce (for bugs)

  1. Create a dialog
  2. Add list items (count should be above 30) inside dialog
  3. Add styling with different keywords.
  4. Open dialog.

Context

Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | |
| React | |
| browser | |
| etc | |

Dialog question

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zabojad picture zabojad  路  3Comments

newoga picture newoga  路  3Comments

iamzhouyi picture iamzhouyi  路  3Comments

reflog picture reflog  路  3Comments

ryanflorence picture ryanflorence  路  3Comments