BUG: Layer manager breaks when alternating between pages
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
MS Edge 126.0.2592.87 (Official build) (arm64)
Reproducible demo link
n/a
Describe the bug
How to reproduce the bug?
- ...Using versions 0.21.11 or 0.21.12 of grapesjs, create a multi-page project. While on page A the Layer manager works as expected. Switching to page B likewise works as expected.
- ...Switching back to page A will cause the Layer manager to stop responding and render it useless. Actually, switching to any previously loaded page causes this problem but switching to any page for the first time works as expected.
- Switching back to v0.21.10 resolves the problem
What is the expected behavior? ...The layer panager should reflect the components for the currently loaded page and allow interaction.
What is the current behavior? ...Layer manager stops responding and any attempts to interact with the currently displayed items fail to work (e.g. clicking on the expansion button for a component does nothing). The only way to get layer manager to work again is to load a page that hasn't already been loaded (e.g. page C). However, leaving this page and loading it again later will cause the same issue for page C.
Thank you for the excellent framework by the way!
If is necessary to execute some code in order to reproduce the bug, paste it here below:
// your code here
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #5593
BUG: Layer manager not refreshing on page change
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? MS Edge 120.0.2210.91 Reproducible demo li...
Issue #4608
BUG: After upgrading from 0.19.4 to latest version 0.20.1, icons under layer manager not visible.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 104.0.5112.101 (Official Build) (a...
Issue #5148
BUG: none of the official GrapesJS plugins works with the new index.d.ts
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? all and none, the bug is during the build...
Issue #4435
BUG: pages Manager
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? chrome latest versionReproducible demo link...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.