Skip to content

Cannot override maxHeight in Dialog #2331

@dimaorman

Description

@dimaorman

I'm trying to create a simple login form dialog and having problems with the height of the content when the mobile keyboard is open. I cannot give any new value to bodyStyle.maxHeight.

max-height-dialog

my code:
`

        <Dialog
            title={title}
            open={this.props.open}
            onRequestClose={this.onClose}
            autoDetectWindowHeight={false}
            autoScrollBodyContent={true}
            contentStyle={this.styles.base}
            bodyStyle={{ maxHeight: 1200 }}
        >
         ...
        </Dialog>

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: dialogChanges related to the dialog.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions