Skip to content

[5.x]: Dragging entries in a structure to the top or bottom will not scroll the view #17036

@MoritzLost

Description

@MoritzLost

What happened?

Description

When dragging an entry in a structure section to the top or bottom of the viewport, the list will not scroll in that direction:

dragging-entry-in-structure.mov

The only way to move the view while placing entries with drag-and-drop is to use the mouse wheel, which isn't always available. This makes it inconvenient to move entries to a new place. You have to repeatedly drag-and-drop and scroll the view in between.

Expected behavior

Dragging an entry in a structure to the top or bottom of the list container should scroll the view in that direction. This used to be the case, but stopped working in some recent version.

Craft CMS version

5.6.14

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions