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

cfilipov picture cfilipov  路  55Comments

sjstebbins picture sjstebbins  路  71Comments

darkowic picture darkowic  路  62Comments

tdkn picture tdkn  路  57Comments

tleunen picture tleunen  路  59Comments