Infinity Scroll on a site in Editor mode AEM6.5 SP20 | Community
Skip to main content
New Participant
July 30, 2024
Solved

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

  • July 30, 2024
  • 3 replies
  • 901 views

Hi

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

 

 

Best answer by EstebanBustamante

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.

3 replies

saksham-2
New Participant
March 29, 2025

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

EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
July 30, 2024

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
h_kataria
New Participant
July 30, 2024

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.