Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Author Mode everytime deleting a component creating Space

Avatar

Level 3

When in author Mode everytime if I am adding any component and removing it it is taking extra space at the bottom when I check in view as published or refresh the page it works fine is there any fix for this.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Try to use a cq:listener with "afterdelete","afterinsert" property to refresh the component/page, that should solve your problem


You can find how that work here: https://experienceleague.adobe.com/docs/experience-manager-65/developing/components/components-basic... 



Esteban Bustamante

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Try to use a cq:listener with "afterdelete","afterinsert" property to refresh the component/page, that should solve your problem


You can find how that work here: https://experienceleague.adobe.com/docs/experience-manager-65/developing/components/components-basic... 



Esteban Bustamante