Review 13.4 Merged

91212[BUGFIX] Maintain focus on autofocused clearable input elements

Benjamin Franzke CR +2 V +2 Easy +8 −2 updated 10/22/25, 20:55

Commit message

Clearable input elements with `autofocus` attribute may lose focus once
the clearable wrapper was added, because the focused input element is
technically removed from DOM and re-added within the new wrapper. With
this patch, the focus state is saved and properly restored once the
clearable elements were initialized.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Benjamin Franzke commented on patch set 1 10/22/25, 20:42

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 10/22/25, 20:50 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/87305

  3. Benjamin Franzke voted on patch set 1 CR +2 V +2 10/22/25, 20:54

  4. Benjamin Franzke merged patch set 2 10/22/25, 20:55