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

[Text Field] Text overflows textfield compounds #20249

Closed
2 tasks done
OriginLive opened this issue Mar 23, 2020 · 1 comment
Closed
2 tasks done

[Text Field] Text overflows textfield compounds #20249

OriginLive opened this issue Mar 23, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@OriginLive
Copy link

OriginLive commented Mar 23, 2020

  • 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 😯

With a long label, the text field overflows out of the bounds.
Also for some reason the theme provider is overriding the label even though there's no theme parent.

Expected Behavior 🤔

The text should stay in or under the outlined input.
(as with overflow: hidden)

Steps to Reproduce 🕹

https://codesandbox.io/s/dazzling-burnell-484sc

Steps:

  1. Make a textbox
  2. Put in a long label
  3. ????
  4. Profit

Context 🔦

We have an issue where on mobile devices the text is too large and sticks out of the margins.
Here's an example
image

Your Environment 🌎

What we are using:

Tech Version
Material-UI 4.9.5
React ^16.13.0
Browser Chrome
TypeScript ~3.8.3

although the issues is present as seen in the sandbox above

@oliviertassinari oliviertassinari added the duplicate This issue or pull request already exists label Mar 23, 2020
@oliviertassinari
Copy link
Member

Duplicate of #12255

@oliviertassinari oliviertassinari marked this as a duplicate of #12255 Mar 23, 2020
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

2 participants