Sebastian "Sebbie" Silbermann

Results 555 comments of Sebastian "Sebbie" Silbermann

Do you mean the third example? The label is shrunk because the text field has an input value not because of the adornment (as is shown in the first example).

> No, the first example. That's how it should look when there is no input value, but currently in MUI it starts off shrunk (like examples 2 and 3 except...

I didn't make that particular change nor do I think it should stay. It makes customization not straight forward. You'd have to ask @oliviertassinari what problem the sibling selector solves...

Why can't we apply the styles to the DialogContent? A Dialog should always have a heading anyway. Instead, people should add padding if they purposely omit the heading.

A dialog having no title is problematic UI. Customization should not be our concern in this case. Otherwise we encourage problematic UIs.

> Do you mean from a DOM perspective or a design perspective? I don't know what a "DOM perspective" is. The DOM is just a programming interface. I'm talking about...

> Here Material Design is saying that the "title" can either be the "DialogTitle" or "DialogContent" (if alone). I didn't find any such statement. I even found statements contradicting this...

I don't understand why you're hell bent on making no title work when there's a really simple solution to the problem that puts the usability of the UI first: just...

Composition gives us all the tools to fix this issue and actually make `useMediaQuery` a good candiate for usage outside of Material-UI: ```ts // existing implementation without any knowledge of...