Skip to content

[Bug]: Can't drop element below last line #5000

Description

@lscheibel

Bug type

Behavior bug (incorrect output/state without crash)

Browser surface

Yes

Summary

Dragging an element below the last item inside the slate-editor, doesn't move the dragged element, despite the indicator rendering.

Public reproduction URL

https://platejs.org/docs/examples/dnd

Steps to reproduce

  1. Go to linked demo.
  2. Start to drag "1. First item" f.e.
  3. Drag it maybe 100px below the last item in the editor, making sure that the drag indicator is shown.
  4. Release the drag.

Expected behavior

The dragged item is moved to be the last item in the editor.

OR

No indicator is shown when drag is not valid.

Actual behavior

The dragged item is not moved, despite an indicator being shown.

Acceptance criteria

  • If I see a drop indicator, releasing the drag will place the dragged element there.

Plate / Slate / React versions

NOT_ENOUGH_INFO

Operating system

macOS 26.4 (25E246)

Install method

No response

Framework / app setup

NOT_ENOUGH_INFO

Affected packages or entry points

@plate/dnd-kit

Minimal code or config excerpt

NOT_ENOUGH_INFO

Logs, screenshots, and evidence

Impact and severity

Affected: users
Severity: annoying
Frequency: always
Consequence: dnd feels broken

Additional information

Screen.Recording.2026-06-09.at.09.02.03.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions