Issue #6669πŸ’¬ AnsweredOpened Dec 5, 2025by pierodetomi0 reactions

Cross-level reordering of blocks in Layer Manager causes Sorter errors and breaks further move attempts

Quick answerby lexoyo

I guess it is the same as this bug too?

Read full answer below ↓

Question

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug? Start from a fresh editor instance with an empty canvas From the Blocks panel, drag a "1 Column" block into the canvas. From the Blocks panel, drag a "Text" block into the canvas. In the Layer Manager, perform the following moves in order: Move the Text block inside the 1 Column block. Move the Text block outside and below the 1 Column block (same hierarchy level, just below it). Move the 1 Colu...

Answers (3)

pierodetomiβ€’ Dec 6, 2025

I don’t think it’s the same issue. In the one you linked, items are disappearing, while in my case the Layer Manager ends up in a state where you can’t move a layer anymore. They might be related at a higher level as β€œSorter-related problems”, but from what I can see they’re two distinct bugs.

GJS Helperβ€’ May 17, 2026

This is a known issue in GrapesJS related to how the internal Sorter instances (used for drag-and-drop in both the Layer Manager and the Canvas) maintain their state after complex, cross-level component reordering operations. The errors you're seeing, Cannot read properties of null (reading 'contai...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.