Author Mode everytime deleting a component creating Space | Community
Skip to main content
Level 3
July 5, 2023
Solved

Author Mode everytime deleting a component creating Space

  • July 5, 2023
  • 1 reply
  • 436 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by EstebanBustamante

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-basics.html?lang=en#cq-listeners 

1 reply

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
July 5, 2023

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-basics.html?lang=en#cq-listeners 

Esteban Bustamante