Hi, I am experiencing a critical issue where all pages on my Joomla 6 site freeze completely on mobile devices for about 10 seconds upon page load. During this time, the user cannot scroll up or down.
This happens globally across the entire website, including non-shop pages like the "About Us" page (/om).Through browser remote debugging, we isolated the root cause to a hard JavaScript crash in EasyStore's frontend code. Specifically, the script modal.site.js (v2.0.3) throws an uncaught error inside a promise during initialization, which completely locks the browser's main thread and prevents native mobile touch events.
GET xxxxxxx.se... net::ERR_FAILED modal.site.js?2.0.3:11
Uncaught (in promise) TypeError: Failed to fetch
at loadModalWrapper (modal.site.js?2.0.3:11:25)
at HTMLDocument.<anonymous> (modal.site.js?2.0.3:18:8)
Steps We Have Already Taken to Troubleshoot (Without Success):
Cleared Caches: Cleared Joomla global cache, purged SP Page Builder compiled assets, and cleared mobile browser cache.
Turned Off Production Mode: Disabled "Production Mode" in SP Page Builder Options to ensure fresh assets are being compiled.
Disabled Global Plugins: Disallowed/Disabled the EasyStore - Load Modules plugin and temporarily disabled the EasyStore Core Plugin to see if it unblocked the layout. The asset script still gets injected and crashes.
CSS Overrides: Attempted forcing touch-action: auto !important and overflow: visible !important via CSS on the html and body tags, but the JS promise crash is too aggressive and overrides the browser before CSS rendering completes.
It appears that loadModalWrapper makes an asynchronous fetch call that is failing globally (perhaps due to routing changes or strict handling in Joomla 6 architecture), and because the exception is uncaught, it leaves the window event listeners frozen.
Could you please investigate why modal.site.js fails its fetch request on non-product pages and completely hijacks the mobile scrolling experience?
Joomla Version: Joomla 6
EasyStore Version: 2.0.3
SP Page Builder Version: 6.8.0 Pro
Thank you!