-
Notifications
You must be signed in to change notification settings - Fork 4k
[fix] Improve textarea auto-expansion with proper height calculation and placeholder handling #13168
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
✅ 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. |
✅ PR preview is ready!
|
|
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. |
📈 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
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.
This seems broken to me. The height is supposed to expand to the content like in the original screenshot.
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.
Agreed
|
Deprioritized |

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.