-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(textfield): textarea actually grows with multiline #4271
Conversation
Lighthouse scores
What is this?Lighthouse scores comparing the documentation site built from the PR ("Branch") to that of the production documentation site ("Latest") and the build currently on Transfer Size
Request Count
|
Tachometer resultsChromecolor-field permalinkbasic-test
combobox permalinkbasic-test
light-dom-test permalink
number-field permalinkbasic-test
search permalinktest-basic
slider permalinktest-basic
textfield permalinktest-basic
Firefoxcolor-field permalinkbasic-test
combobox permalinkbasic-test
light-dom-test permalink
number-field permalinkbasic-test
search permalinktest-basic
slider permalinktest-basic
textfield permalinktest-basic
|
…um-web-components into blunteshwar/sp-textarea-bug
@blunteshwar lets try to add a re-review request after a full VRT test pass going forward to save time of the review process? |
…um-web-components into blunteshwar/sp-textarea-bug
Sure! Will keep in mind from next time |
Co-authored-by: Westbrook Johnson <wesjohns@adobe.com>
…um-web-components into blunteshwar/sp-textarea-bug
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.
LGTM!
* fix(textfield): textarea actually grows with multiline * chore(textfield): added a test * chore(textfield): css changes * chore(textfield): added changes to css * Update textfield.test.ts * chore(textfield): reverting css changes as they didn't work * fix(textfield): added css fix * fix(textfield): fixed the extra spacing in render method * fix(textfield): fixed spacing * fix(textfield): fixed spacing * fix(textfield): fixed spacing * fix(textfield): fix spacing * fix(textfield): fixed spacing * fix(textfield): fixed spacing inside render method * chore(textfield): suggested changes Co-authored-by: Westbrook Johnson <wesjohns@adobe.com> * chore(textfield): removed unrequired css props --------- Co-authored-by: Westbrook Johnson <wesjohns@adobe.com>
Description
sp-textarea was not growing when typing multiple lines of text, so I updated the
height
of textarea withscrollHeight
Related issue(s)
#4259
Motivation and context
It updates the height of textarea with attributes {multiline,grows} when typing multiple lines of text.
How has this been tested?
Screenshots (if appropriate)
Screen.Recording.2024-04-16.at.5.42.01.PM.mov
Types of changes
Checklist
Best practices
This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against
main
.