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

iOS Safariでバックナビゲーションがダイアログを壊す

written-by

Christopher Lui

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が使用しているAPIであるhistory.pushState()を使用している間、iOS Safariには既知の問題があります。 Liferay以外の問題は、以下のサイトで確認できます。

この問題により、iOSでSafariを使用している場合、Webコンテンツ表示ポートレットをページから削除することができなくなります。

解決策

Liferay内での唯一の解決策は、ポータル内のSPAを無効にすることです。 これは、このプロパティを portal-ext.properties に設定することで行うことができます。

javascript.single.page.application.enabled=false

SPAを無効にすると、ポータル上のページのロード時間を増やすことができることに注意してください。

Liferay内のSPAについては、以下をお読みください。 Liferay開発の概要

did-this-article-resolve-your-issue

legacy-knowledge-base