Skip to content

fix: Improve dynamic adjustment of prompt input height#4582

Open
jperals wants to merge 11 commits into
mainfrom
fix/prompt-input-dynamic-height
Open

fix: Improve dynamic adjustment of prompt input height#4582
jperals wants to merge 11 commits into
mainfrom
fix/prompt-input-dynamic-height

Conversation

@jperals
Copy link
Copy Markdown
Member

@jperals jperals commented Jun 4, 2026

Description

Update the input height not only on window resize, but also when the component itself changes width for whatever reason (for example, by expanding or collapsing drawers). Otherwise the prompt input height will become stale in these cases.

Issue: AWSUI-62050

How has this been tested?

  • Integration tests
  • Manually
Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.45%. Comparing base (77cd842) to head (d53b96d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4582      +/-   ##
==========================================
+ Coverage   97.43%   97.45%   +0.01%     
==========================================
  Files         941      942       +1     
  Lines       29692    29703      +11     
  Branches    10792    10792              
==========================================
+ Hits        28930    28946      +16     
- Misses        715      750      +35     
+ Partials       47        7      -40     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jperals jperals marked this pull request as ready for review June 4, 2026 11:07
@jperals jperals requested a review from a team as a code owner June 4, 2026 11:07
@jperals jperals requested review from amanabiy and removed request for a team June 4, 2026 11:07
@jperals jperals enabled auto-merge June 4, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant