BUG: Blocks stop being draggable after switching page when nativeDnD is false
Author: lexoyoCreated Sep 16, 2026Updated Sep 16, 2026
GrapesJS version
- I confirm to use the latest version of GrapesJS
Tested with GrapesJS 0.23.6, the latest release. BlocksView has the same code in 0.23.2 and on the dev branch.
What browser are you using?
Chromium 141, and WebKitGTK (Tauri webview)
Reproducible demo link
https://codepen.io/lexoyo/pen/01a0a971-906e-7d70-94d8-69d9672dd680
Describe the bug
Found in Silex Desktop, where I need to turn off native drag because WebKit webviews do not support HTML5 drag and drop across iframes.
How to reproduce the bug?
- Init the editor with
nativeDnD: falseand two pages. - Drag a block into the first page. It works.
- Select the second page.
- Drag a block. Nothing happens, and no error is raised.
- Go back to the first page. Dragging still does nothing.
What is the expected behavior?
Dragging a block works on every page, and keeps working after a page change.
What is the current behavior?
Dragging a block does nothing as soon as another page has been selected, on every page, with nothing in the console.
Source: GrapesJS/grapesjs