Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Alignment issue in Teaser Component

gmahesha
Level 2
Level 2

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
Asutosh_Jena_
Correct answer by
Community Advisor
Community Advisor

Hi @gmahesha 

 

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
Asutosh_Jena_
Correct answer by
Community Advisor
Community Advisor

Hi @gmahesha 

 

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!