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.
Height should be customizable.
Height of dialog is proportional to number of items.
| Tech | Version |
|--------------|---------|
| Material-UI | |
| React | |
| browser | |
| etc | |
@talmukund This demo is demonstrating how to set a max height:
https://github.com/mui-org/material-ui/blob/e49ce4f7c2df242062fe46a2f3aeb30f78a01ef1/docs/src/pages/demos/dialogs/ConfirmationDialog.js#L117
Most helpful comment
@talmukund This demo is demonstrating how to set a max height:
https://github.com/mui-org/material-ui/blob/e49ce4f7c2df242062fe46a2f3aeb30f78a01ef1/docs/src/pages/demos/dialogs/ConfirmationDialog.js#L117