While Dragging component to top, removed event is not triggered for another component
This is correct behavior, the event is triggered only on updated/moved component otherwise all children would emit events (which is definitely not what we want). You can also try to see if setting the listener on the parent might help you in your case
Read full answer below โQuestion
I moved selected component to top (see in image). So removed/onrender callback triggered for the moved component. But callback is not triggered for below component which is at index 1. Is that a bug or expected behaviour? if it is expected, how can we call removed or something to know its changed its position?
Answers (1)
This is correct behavior, the event is triggered only on updated/moved component otherwise all children would emit events (which is definitely not what we want). You can also try to see if setting the listener on the parent might help you in your case
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3476
TypeError: Cannot read property 'querySelector' of null
<img width="1172" alt="Screenshot 2021-05-24 at 6 55 23 PM" src="https://user-images.githubusercontent.com/55732888/119354444-b8cbb500-bcc1...
Issue #3154
Hide elements when i click eye icon in Open Layer Manager
I want to see the code handle event hide or delete elements. Where can i find it? <img width="958" alt="Capture" src="https://user-images.g...
Issue #3267
Cannot set 0px box shadow blur
For some reason, the editor does not allow to set the blur to 0px. 0 always magically turns into 5px. <img width="243" alt="Screenshot 2021...
Issue #3464
Editing button text doesn't work correctly
Description0 - Visit: https://grapesjs.com/demo.html1 - Select button: <img width="674" alt="Screenshot 2021-05-19 at 15 09 53" src="https:...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins โ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.
Tutorial
GJS.Market Is Now Available for India ๐ฎ๐ณ
GJS.Market is expanding its global presence with a dedicated experience for developers, agencies, SaaS companies, and digital creators in India
Tutorial
How to Build an AI-Powered Page Builder with GrapesJS in 2026
What we learned building GJSDocs โ from simple AI text generation to structured, context-aware visual editing
Tutorial
How Much Does It Cost to Build a SaaS Page Builder in 2026?
How much does it cost to build a SaaS page builder in 2026? Explore realistic development costs, timelines, features, and how using GrapesJS can reduce
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.