Content in the Simulator keeps flashing and eventually the webpage shows STATUS_STACK_OVERFLOW error


Description

When previewing a page using Simulators, the page content might be blinking. The issue results in the STATUS_STACK_OVERFLOW error being displayed on the webpage.

This issue affects Sitecore XP 10.4.0 and XM Cloud.

Solution

To resolve the issue, for Sitecore XP 10.4.0, consider one of the following options:

For XM Cloud, to prevent the issue, consider the following options: