Skip to content

fix: test the option field as a single line - #4280

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4277
Oct 26, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4277

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The option-field test still expected multiline growth after #4270 deliberately made option titles single-line so Return submits on phone keyboards. It now checks that pasted line breaks become spaces, the field keeps its height, and the Add control retains its alignment. This preserves #4270's intended interface and changes no product behavior.

The reported test failed locally with 21 > 21 before this update. Both the corrected test and the phone Return/paste test pass afterward (2 passed). The preceding CI run's JUnit records a pass before #4270; its diff introduces the single-line declaration and newline normalization.

Closes #4277 — automated triage

PR #4270 deliberately made option titles single-line so Return submits on phones. Replace the obsolete multiline growth assertion with checks that pasted breaks become spaces and the field keeps its height, retaining the action alignment checks.

Closes #4277
@leaf-agent
leaf-agent merged commit ac6f7af into main Oct 26, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4277 branch October 26, 2026 18:32
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.

Another option field stays one line tall after multiline input

1 participant