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

[SELECT] Wrong appearance if label wraps #21193

Closed
DSalko opened this issue May 25, 2020 · 1 comment
Closed

[SELECT] Wrong appearance if label wraps #21193

DSalko opened this issue May 25, 2020 · 1 comment
Labels
component: select This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@DSalko
Copy link

DSalko commented May 25, 2020

If the select element label takes more than one line, the second line overlaps with line.

Current Behavior 😯

Select control label doesn't wrap properly.

label-wrap-problem

Expected Behavior 🤔

Control should be moved down by label, no overlapping should occur.

Steps to Reproduce 🕹

https://codesandbox.io/s/keen-heyrovsky-fntcx?file=/src/Demo.js

Steps:

  1. Create Select form field
  2. Write a label than doesn't fit on 1 line

Context 🔦

Build a form

Your Environment 🌎

Tech Version
Material-UI 4.9.10
React 16.13.1
Browser Chrome, Firefox
TypeScript No
@oliviertassinari oliviertassinari added component: select This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists labels May 25, 2020
@oliviertassinari
Copy link
Member

Duplicate of #12255

@oliviertassinari oliviertassinari marked this as a duplicate of #12255 May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: select This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants