Legacy Knowledge Base
Published Jul. 2, 2025

Scrolling to a certain point of the Page

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When clicking on the title, which is displayed in a widget display page, the display page will be scrolled partly (or completely) down when it is loaded.

  • Steps to reproduce:

    • Create a test widget page, by going to Build > Pages > New > Public Page
    • Open this page and add an asset publisher to this page.
    • Click on its Options > Configuration > Display Settings and check 'Set as the Default Asset Publisher for This Page' and Save.
    • Now create Basic Web Content with a title and some moderate amount of content. Select test page as display page.
    • Add an asset publisher to the home page that provides a link to the content created in step 4.
    • Now click the link for the test article on the home page.
      Expected result: On the display page, the content will be visible, as well as the top of the page (i.e. can see the site logo, navigation bar, etc)
      Actual result: On the display page, the content is visible, but the page has been scrolled down such that the site logo and navigation bar are hidden.
      Note: the degree of scrolling varies depending on the browser. Chrome will scroll the page to the top of the article title. Edge, however, will scroll all the way to the bottom of the page.

       

Environment

  • Liferay DXP 7.2

Resolution

  • This is the intended behavior of Liferay DXP. This behavior change was made in LPS-70268 for 7.1 due to usability reasons, hence it is part of 7.2 as well.

Additional Information

  • If users want different behavior for the scrolling functionality, they may need to consider using a custom fragment module to tweak the product to their requirements.
  • We have a different channel called "Global Service Team" that works primarily in custom development and implementations.
Did this article resolve your issue ?

Legacy Knowledge Base