Review main Ready for review

98340[TASK] Focus and reveal inserted elements in the form editor

Josua Vogel CR 0 V 0 Easy +48 −2 updated 12/04/26, 17:41

Commit message

When an editor inserted a new element into a form longer than the
screen, the stage kept its scroll position, so the new element could
end up out of view, and the focus was lost once the insert dialog
closed.

The form editor now scrolls a newly inserted element into view and,
where the inspector is docked beside the stage, moves the focus into
the first inspector field, so its label can be typed right away.
Both happen once the insert dialog is hidden, because the dialog
keeps the form editor inert while it is open and returns the focus
to its trigger when it closes.
Resolves: #97500
Releases: main, 14.3
Change-Id: I6092abfa0c8e969fbda702084fea97ef0fe909b3

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/40/98340/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/40/98340/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Merge conflicts 6

Show 1 more change Show less

Issues 1

Files 5

Review log 13

  1. Josua Vogel uploaded patch set 1 12/04/26, 16:52

  2. core-ci voted on patch set 1 V -1 12/04/26, 17:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116351

  3. core-ci voted on patch set 1 V +1 12/04/26, 17:41 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116351