-
Notifications
You must be signed in to change notification settings - Fork 75
fix: add background color to TextareaField label #3079
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
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
- Adjust padding and positioning variables for better alignment - Fix label position on focus and filled states - Add width calculation to prevent label overflow
lucasfp13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, creating testing stories too 🚀
Just a reminder to resolve the conflicts 🎗️
lariciamota
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback! |


What's the purpose of this pull request?
This PR fixes a visual bug in the TextareaField component where long text would appear underneath the floating label during scroll, making it difficult to read. The issue was identified during the review of PR #2705.
Additionally, comprehensive Storybook documentation was added to showcase all TextareaField variations and use cases.
Gravacao.de.Tela.2025-10-23.as.19.17.16.mov
How it works?
Bug Fix:
--fs-textarea-field-label-background-colorCSS variable topackages/ui/src/components/molecules/TextareaField/styles.scssHow to test it?
Test the scroll bug fix:
From the project root:
pnpm --filter "@faststore/storybook" devOr navigate to the storybook package:
cd packages/storybook pnpm devThen:
References