Skip to content

[Dialog] DialogTitle overrides DialogContent className #26795

Open
@jlin5

Description

@jlin5
  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

The DialogTitle className (MuiDialogTitle-root) is overriding the set className to DialogContent.

Expected Behavior 🤔

The DialogTitle className should not override the set className to DialogContent.

Steps to Reproduce 🕹

https://codesandbox.io/s/sparkling-architecture-47w73?file=/src/index.tsx

This is happening after @material-ui/core@5.0.0-alpha.35

To reproduce, change the package dependency in the codepen @material-ui/core to 5.0.0-alpha.36 or higher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changebug 🐛Something doesn't workcomponent: dialogThis is the name of the generic UI component, not the React module!ready to takeHelp wanted. Guidance available. There is a high chance the change will be accepted

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions