Skip to main content
Level 6
Jul 30, 2024 10:36 AM UTC
Solved

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

Hi

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

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
EstebanBustamante
EstebanBustamanteAccepted solution
Adobe Champion and Community Advisor
Jul 30, 2024 1:28 PM UTC

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

3 replies

h_kataria
Community Advisor
Community Advisor
Jul 30, 2024 12:40 PM UTC

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. 

Translate
EstebanBustamante
Adobe Champion and Community Advisor
EstebanBustamanteAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
Jul 30, 2024 1:28 PM UTC

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.

Translate
Esteban Bustamante
saksham-2
New Member
Mar 29, 2025 8:17 PM UTC

You can target the coral container , and give some fixed/px height to image if you give vh propery to any of your component 

Translate