Author Environment - component specific css loading only after page refresh | Community
Skip to main content
Level 2
December 29, 2023
Solved

Author Environment - component specific css loading only after page refresh

  • December 29, 2023
  • 2 replies
  • 1102 views

Dear Team,

I suddenly started facing a wierd issue that while authoring - adding/editing an aem component ,css of that component is not loading. Only after a page refresh i can see components align according to its css.

 

Not sure if any issue with AEM or if any of the code related issue.

 

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 saravana_sgws

AEM by default doesnt refresh page automatically after authoring components. If you want to bruteforce fresh page after every component update, use cq:EditListenersConfig as instructed here: https://helpx.adobe.com/ca/experience-manager/kb/RefreshPageWhenModifyDialog.html

Another reference here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/issue-with-touch-ui-editing-view-not-showing-pages-without/m-p/405076

 

2 replies

saravana_sgwsAccepted solution
Level 2
December 29, 2023

AEM by default doesnt refresh page automatically after authoring components. If you want to bruteforce fresh page after every component update, use cq:EditListenersConfig as instructed here: https://helpx.adobe.com/ca/experience-manager/kb/RefreshPageWhenModifyDialog.html

Another reference here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/issue-with-touch-ui-editing-view-not-showing-pages-without/m-p/405076

 

SureshDhulipudi
Community Advisor
Community Advisor
January 2, 2024

do you mean latest CSS changes are not showing up in dispatcher or author preview mode?

ramya726Author
Level 2
January 2, 2024

In local AEM,Author - Edit mode.css for that particular component is not applied as soon as adding /editing a component. Specific css applied only after page refresh.!!