[fix] Improve textarea auto-expansion with proper height calculation and placeholder handling#13168
Closed
sfc-gh-nbellante wants to merge 1 commit intodevelopfrom
Closed
[fix] Improve textarea auto-expansion with proper height calculation and placeholder handling#13168sfc-gh-nbellante wants to merge 1 commit intodevelopfrom
sfc-gh-nbellante wants to merge 1 commit intodevelopfrom
Conversation
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
✅ PR preview is ready!
|
This was referenced Dec 1, 2025
Merged
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Dec 1, 2025
Contributor
📈 Frontend coverage change detectedThe frontend unit test (vitest) coverage has increased by 0.0100%
✅ Coverage change is within normal range. |
f3f6b6f to
de46a9f
Compare
8d81849 to
68a3bb3
Compare
2b57692 to
b6f6023
Compare
471e74a to
aedf58e
Compare
b6f6023 to
1c7c5b4
Compare
aedf58e to
70dafb3
Compare
1c7c5b4 to
638684e
Compare
1bcb411 to
bc83355
Compare
6788d11 to
ef7ea96
Compare
ab2e804 to
caa800c
Compare
ef7ea96 to
decc186
Compare
f3d1a8c to
90ee300
Compare
decc186 to
fdb375b
Compare
- Calculate maxHeight based on line height for accurate 6.5 line limit - Handle placeholder text measurement - Update tests to use real DOM elements for getComputedStyle compatibility
fdb375b to
6b0e699
Compare
Collaborator
There was a problem hiding this comment.
This seems broken to me. The height is supposed to expand to the content like in the original screenshot.
Contributor
Author
|
Deprioritized |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Describe your changes
Screenshot or video (only for visual changes)
GitHub Issue Link (if applicable)
Testing Plan
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.