Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long labels in outlined inputs behave in a weird manner #16761

Closed
Floriferous opened this issue Jul 26, 2019 · 1 comment
Closed

Long labels in outlined inputs behave in a weird manner #16761

Floriferous opened this issue Jul 26, 2019 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@Floriferous
Copy link
Contributor

When using longer input labels with selects and inputs of the outlined variant, the label width detection does not work properly.

Screenshot 2019-07-26 at 14 54 19

Here's a reproduction: https://codesandbox.io/s/material-demo-3gqm2

It's also not really clear to me why the input does not resize when the label is down. But I guess that's just a limitation. I wish I could simply give it a label, and it'd take the space it needs to display it properly.

material-ui v4.2.1

@oliviertassinari oliviertassinari added the out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future) label Jul 26, 2019
@oliviertassinari
Copy link
Member

@Floriferous Same problem and limitation than #12255.

@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists and removed out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future) labels Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants