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.