Expand my Community achievements bar.

SOLVED

Author Environment - component specific css loading only after page refresh

Avatar

Level 2

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.

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 3

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-editin...

 

View solution in original post

3 Replies

Avatar

Correct answer by
Level 3

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-editin...

 

Avatar

Community Advisor

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

Avatar

Level 2

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.!!