Back Navigation Breaks Dialogs in iOS Safari

Summary

There is a known issue with iOS Safari while using history.pushState(), which is an API that Liferay uses. Issues outside of Liferay can be found at:

This issue will make it impossible to remove the Web Content Display portlet from a page when using Safari on iOS.

Solution

The only solution within Liferay is to disable SPA within the portal. This can be done by setting this property in your portal-ext.properties:

javascript.single.page.application.enabled=false

Please be aware that disabling SPA can increase page load times on your portal.

For more information on SPA within Liferay, please read: Introduction to Liferay Development

Was this article helpful?
0 out of 0 found this helpful