agent_ui: Fix expanded message editor jitters while typing#52612
Merged
MrSubidubi merged 4 commits intozed-industries:mainfrom Mar 30, 2026
Merged
Conversation
…and-message-editor
Contributor
Author
|
Seems already fixed in #52545, but this is still meaningful in fixing the jittering in expanded mode, but I will need to reformulate this PR. |
Contributor
Author
|
Re-scoped the PR. |
This comment was marked as outdated.
This comment was marked as outdated.
MrSubidubi
approved these changes
Mar 30, 2026
Member
MrSubidubi
left a comment
There was a problem hiding this comment.
Nice find and fix, thanks for this and adding a test upfront!
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.
Self-Review Checklist:
Closes #52132.
This PR previously also fixes the "expanded message editor not taking up full height" part, but #52545 has already fixed that. Yet it seems to leave a new issue (that was previously not revealed) behind, as follows.
This PR fixes the
Full + ExcludeOverscrollMargineditor mode (which the agent panel message editor uses in expanded mode), which could jitter while typing because render-time layout and scroll-position updates were clamping against different effectivescroll_beyond_last_linepolicies. This PR fixes that inconsistency so the expanded editor stays stable while typing, and adds a regression test coveringExcludeOverscrollMarginscroll clamping.Old.mp4
New.mp4
Release Notes: