Repository navigation
fix: read response focus rings from the field or its frame - #4592
Merged
Merged
Conversation
The floating composer deliberately moved its outline, border and minimum height to its frame in #4379. Check the forced-colors cue on either the editor or its frame, and compare text typography and padding rather than requiring both presentations to paint their frames on the same node. Preserve the Markdown reading and overflow checks. Both affected light/desktop and dark/touch cases pass. Removing the floating frame ring makes the revised assertion fail. Closes #4457
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.
The shadow-seating journey still expected the floating editor to own its outline, border and minimum height. #4379 deliberately moved those onto the enclosing frame so the comment box could animate as one surface; the forced-colors assertion consequently fails even while the frame draws the focus cue.
Read the outline from the editor or its immediate composition frame, and compare the shared text typography and padding without requiring identical frame implementation. The existing Markdown rendering, table overflow and sent-text inset assertions remain.
Both affected cases pass locally (desktop/light and touch/dark). The original assertion fails on current main; removing the floating frame's ring also makes the revised assertion fail. No runtime or appearance changes.
Closes #4457 — automated triage