legacy-knowledge-base
公開されました Jul. 2, 2025

スクロールしなければ見えない位置にあるポートレットと対話するときに、コンテンツ ページが予期せずスクロールしないようにする方法

written-by

Caleb Bartles

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

learn-legacy-article-disclaimer-text

問題

  • コンテンツ ページのフォールドの下にある Liferay DXP ポートレットを操作すると、ページが予期せず上部にスクロールします。 インタラクションの結果は正しく表示されますが、結果を表示するにはユーザーは下にスクロールする必要があります:Portlet_Below_the_Fold_Interaction.gif
  • インタラクションの結果は正しく表示されますが、結果を表示するにはユーザーは下にスクロールする必要があります:<1>

Environment

  • Liferay DXP 7.2

解決策

  • この問題は、Liferay DXP の portal-ext.properties ファイルに次の構成を追加することで解決できます。
    portlet.url.anchor.enable=true

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base