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

[Bug] Additional spacing under TextField when it has abundant text #11654

Open
aswamy opened this issue Feb 26, 2024 · 1 comment
Open

[Bug] Additional spacing under TextField when it has abundant text #11654

aswamy opened this issue Feb 26, 2024 · 1 comment
Labels
Bug Something is broken and not working as intended in the system. no-issue-activity untriaged

Comments

@aswamy
Copy link

aswamy commented Feb 26, 2024

Summary

Seems like when this media query is satisfied @media (min-width: 48em), we have a lot of spacing at the bottom of the TextField box. My hunch is it's because the line-height is being capped. This problem grows with more text inside the TextField component.

Created a codesandbox here: https://codesandbox.io/p/sandbox/awesome-gianmarco-m6r7nh?file=%2FApp.tsx

Expected behavior

The extra spacing under the TextField should not exist.

Actual behavior

The extra spacing does exist and grows as you add more text.

Steps to reproduce

Link to sandbox

Are you using React components?

None

Polaris version number

latest

Browser

Chrome

Device

MacOS

@aswamy aswamy added Bug Something is broken and not working as intended in the system. untriaged labels Feb 26, 2024
Copy link
Contributor

Hi! We noticed there hasn’t been activity on this issue in a while. After 30 days, it will close automatically.

If it’s still relevant, or you have updates, comment and let us know. And don’t worry, you can always re-open later if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken and not working as intended in the system. no-issue-activity untriaged
Projects
None yet
Development

No branches or pull requests

1 participant