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:
- Stack Overflow: Alert, Confirm, and Prompt Not Working After Using History API on Safari, iOS
- Github: Navigating Back Breaks Alert/Confirm/Prompt Dialogs on iOS Safari
- Stack Overflow: Prevent Safari Loading from Cache When Back Button is Clicked
This issue will make it impossible to remove the Web Content Display portlet from a page when using Safari on iOS.
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:
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