Expand my Community achievements bar.

SOLVED

Alignment issue in Teaser Component

Avatar

Level 3

Hi team,

Whenever I modify the teaser component, Text(of teaser comp) alignment was broken. But when I refresh the page, Text alignment was fine. But My client is not happy with refreshing the page (even auto refresh too). Is there any solution to alignment? I mean once I author the teaser component, it should work fine.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @gmahesh 

 

You can use "afteredit" with "REFRESH_SELF" option and it will refresh the component only once you save the dialog. This will ensure the component is refreshed to render it correctly.

 

Please refer the link below:

http://www.sgaemsolutions.com/2019/01/ootbcustom-cqlisteners-in-cqeditconfig.html

 

Thanks!

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @gmahesh 

 

You can use "afteredit" with "REFRESH_SELF" option and it will refresh the component only once you save the dialog. This will ensure the component is refreshed to render it correctly.

 

Please refer the link below:

http://www.sgaemsolutions.com/2019/01/ootbcustom-cqlisteners-in-cqeditconfig.html

 

Thanks!