Expand my Community achievements bar.

SOLVED

Infinity Scroll on a site in Editor mode AEM6.5 SP20

Avatar

Level 7

Hi

We have a template in AEM6.5 SP20 that has an infinity scroll in Editor mode. Any suggestion how to fix this?

anasustic_0-1722335772419.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

This issue is related to the use of vh (virtual height) in your custom CSS. Most likely you are using something like this: height: 100vh which may not work in "Edit mode" due to its iframe relationships. To fix this, you should add a condition to set a fixed height in Edit mode.

Hope this helps.



Esteban Bustamante

View solution in original post

2 Replies

Avatar

Level 8

Some of your custom CSS is probably conflicting with OOB css styles.

Check if you have defined any styles for #ContentWrapper or any of the other OOB css classes in your custom clientlibs. 

Avatar

Correct answer by
Community Advisor

Hi,

This issue is related to the use of vh (virtual height) in your custom CSS. Most likely you are using something like this: height: 100vh which may not work in "Edit mode" due to its iframe relationships. To fix this, you should add a condition to set a fixed height in Edit mode.

Hope this helps.



Esteban Bustamante