In edit mode the page gives me the ability to scroll up and down, while in view as published mode no, not to the top of the page. The only way to see it all is to make the browser page smaller
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Vodjakxa,
Your issue is happening because:
- Some parent container (like body/html/div) has overflow: hidden or fixed height.
- Or a JavaScript file is blocking scroll or only allowing scroll after resize.
- In Edit Mode, AEM tools override or patch it. In View as Published, those overrides are gone = issue appears.
Regards,
Amit
This issue likely relates to how scrolling and viewport behavior are handled in different modes (edit vs. view as published). In edit mode, AEM injects additional JavaScript and CSS to support authoring tools and interactions, which may include enhanced scrolling behavior. However, in view as published mode, the page is rendered more closely to how it would appear in production, without the AEM authoring tools. This discrepancy can sometimes lead to scrolling issues, especially if the page relies on author-specific CSS or JavaScript.
Possible Causes and Solutions:
Steps to Diagnose and Fix
If you need further assistance, feel free to share more details about the issue, such as the page structure, CSS, or JavaScript you’re using.
Hi @Vodjakxa,
Your issue is happening because:
- Some parent container (like body/html/div) has overflow: hidden or fixed height.
- Or a JavaScript file is blocking scroll or only allowing scroll after resize.
- In Edit Mode, AEM tools override or patch it. In View as Published, those overrides are gone = issue appears.
Regards,
Amit
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies