Skip to content

[Beta]: Homepage block drag and drop crashes with removeChild RuntimeError #5070

Description

@felixfeng33

Summary

Dragging the first block in the homepage playground crashes the page instead of moving the block.

Scope

  • Browser surface: http://localhost:3000/
  • Owner surface: Plate framework/plugin or homepage registry integration
  • The homepage runs Plate on the Plite substrate, but the video does not establish whether the defect is in Plate DnD, the Plite DOM layer, or React integration.

Steps to reproduce

  1. Check out next at 2938677d265c6fb385f68b5ceefe10ee30243eec.
  2. Run pnpm install and pnpm dev.
  3. Open http://localhost:3000/ in Chrome.
  4. Hover the Welcome to the Plate Playground! block.
  5. Drag the block and release it inside the editor.

Expected behavior

The block should move to the selected drop position without crashing the editor.

Actual behavior

The page immediately switches to a RuntimeError screen:

Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

The supplied recording shows one observed attempt and one crash.

Acceptance criteria

  • Dragging and dropping the homepage welcome block moves it to the target location.
  • The operation does not throw a DOM removeChild error or replace the editor with the RuntimeError page.
  • Add browser regression coverage for the homepage block-DnD path, including the resulting document order and absence of runtime errors.
  • Verify follow-up typing and selection still work after the drop.

Regression range

last-known-good: NOT_ENOUGH_INFO
first-known-bad: next@2938677d265c6fb385f68b5ceefe10ee30243eec
evidence: supplied screen recording

Environment

plate: 54.0.0-beta.1
plite: 54.0.0-beta.0
react: 19.2.4
os: macOS 15.7.3
browser: Google Chrome 150.0.7871.126
install: pnpm install / pnpm dev
route: http://localhost:3000/

Public reproduction URL: NOT_ENOUGH_INFO (repo-local route above).

Related issues checked

None covers this next homepage block-DnD crash.

Video evidence

CleanShot.2026-08-04.at.23.20.56.mp4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions