Review 14.3 Merged

94057[BUGFIX] Restore usable drag and drop in long page module views

Oli Bartsch CR +2 V +2 Normal +137 −0 updated 05/11/26, 12:45

Commit message

Dragging content elements in the page module is difficult when
the drop target is outside the visible viewport. This is especially
noticeable on pages with many content elements.

TYPO3 13 switched this interaction to native drag and drop.
As a result, scrolling with the mouse wheel during a drag operation
is no longer possible on most browsers.

This change introduces a velocity-based auto-scroll handler.
While an element is being dragged, the handler reacts to the
pointer distance from the viewport edges and scrolls the page
accordingly. The closer the pointer is to an edge, the faster
the page scrolls. Auto-scrolling stops as soon as the drag
operation ends.

This makes it much easier to move content elements across
long page module views, even though mouse-wheel scrolling
during native drag and drop remains unavailable.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 2

Files 3

Review log 34

  1. Oli Bartsch commented on patch set 1 05/11/26, 12:32

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 05/11/26, 12:43 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101824

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 05/11/26, 12:45

  4. Oli Bartsch merged patch set 2 05/11/26, 12:45