Skip to content

Another option field stays one line tall after multiline input #4277

Closed

Description

@leaf-agent

CI run 40366107163 on d4a9f65e99fd6cda1200a5fb77a716a6bfe33216 fails tests/browser/test_render_options_addition.py::test_the_add_field_previews_the_option_it_will_make on Linux.

After writing First line\nSecond line\nThird line, the field height remains 21px; the assertion grown_field_box["height"] > field_box["height"] fails with 21 > 21. The preceding single-line typography, alignment and action-target checks passed.

The JUnit artifact from preceding push run 40354764131 records a pass for this test. This report session read the diagnostics without a local reproduction; reproduce on current main, inspect earlier results and identify the introducing change before choosing a repair. A passing rerun alone does not clear an intermittent failure.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 26, 2026
  2. leaf-agent commented on Oct 26, 2026

    @leaf-agent
    CollaboratorAuthor

    Fixed in #4280, now merged. #4270 intentionally made “Another option” single-line so Return submits on phone keyboards; the old test still required multiline growth. The test now verifies pasted breaks become spaces and the field keeps its height, while retaining the Add control's alignment checks. Product behavior is unchanged.

    The original test reproduced locally with 21 > 21. The corrected test and phone Return/paste test both passed, and all gating checks passed on the fix's exact head before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions