Review main Merged

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

Matthias Vogel 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
    • Andreas Nedbal +1
    • Simon Praetorius +1
    • Matthias Vogel +1
  • Verified V +2 Done
    • Oli Bartsch +2
    • Andreas Nedbal +1
    • Simon Praetorius +1
    • Matthias Vogel +1
    • core-ci +1 CI

Issues 2

Files 3

Review log 1420

  1. Matthias Vogel uploaded patch set 1 04/21/26, 06:10

  2. Matthias Vogel marked it ready for review 04/21/26, 06:13

  3. core-ci voted on patch set 1 V +1 04/21/26, 06:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100624

  4. Benni Mack updated the commit message in patch set 2 V +1 04/22/26, 06:46

  5. Matthias Vogel updated the commit message in patch set 3 04/22/26, 07:01

  6. core-ci voted on patch set 2 V +1 04/22/26, 11:33 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100789

  7. core-ci voted on patch set 3 V -1 04/22/26, 12:16 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100842

  8. Matthias Vogel updated the commit message in patch set 4 V -1 04/28/26, 07:52

  9. core-ci voted on patch set 4 V +1 04/28/26, 08:01 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101207

  10. Riccardo De Contardi commented on patch set 4 V +1 04/29/26, 08:08

    Tested on latest main 15.0.0 with Chrome, Firefox, Safari on MACOS
  11. Oli Bartsch uploaded patch set 5 V +1 05/11/26, 09:43

  12. core-ci voted on patch set 5 V +1 05/11/26, 09:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101810

  13. Oli Bartsch uploaded patch set 6 V +1 05/11/26, 10:00

  14. Matthias Vogel voted on patch set 6 CR +1 V +1 05/11/26, 10:03

  15. core-ci voted on patch set 6 V +1 05/11/26, 10:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101811

  16. Simon Praetorius voted on patch set 6 CR +1 V +1 05/11/26, 10:28

  17. Oli Bartsch voted on patch set 6 CR +1 V +1 05/11/26, 10:29

  18. Andreas Nedbal voted on patch set 6 CR +1 V +1 05/11/26, 11:30

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

  20. Oli Bartsch merged patch set 7 05/11/26, 12:45