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 SitecoreAI.

Solution

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

For SitecoreAI, to prevent the issue, consider the following options: