Issue #6666✓ SolvedOpened Nov 28, 2025by lexoyo2 reactions

Layer panel: drag and drop makes items disappear (firefox and chrome)

Quick answerby pierodetomi2

I can confirm I’m seeing the same issue, and it’s caused by the disappearing element having a computed height of 0px (because it’s using display: none). While this is definitely a bug, as a temporary workaround you can avoid using display: none on that node inside the editor and use an "equivalent" hiding style that k...

Read full answer below ↓

Question

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 137.0 and Chrome 136.0.7103.92 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug? Open the official demo https://grapesjs.com/demo.html To reproduce the exact same structure, paste this JSON in localStorage > gjsProject: Open the Layers panel Drag the layer named "Checkbox" and drop it below "Logo" Observe the canvas and the layers list <img width="1598" height="999" alt="Image" src="https://github.com/user-attachments/assets/770fd76f-2329-4c63...

Answers (2)

👍 Most helpfulpierodetomiDec 6, 2025

I can confirm I’m seeing the same issue, and it’s caused by the disappearing element having a computed height of 0px (because it’s using display: none). While this is definitely a bug, as a temporary workaround you can avoid using display: none on that node inside the editor and use an "equivalent"...

GJS HelperMay 17, 2026

This is indeed a bug within the GrapesJS Layers panel's drag-and-drop functionality, specifically when attempting to move components that are semantically linked, such as an input element with an id and a label element with a for attribute referencing that id. The issue is reproducible on the offic...

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.