EasyStore Modal.site.js Crash Blocks Touch Action / Scrolling On Mobile Devices (Joomla 6) - Question | JoomShaper

is live, now with multi-currency selling.

EasyStore Modal.site.js Crash Blocks Touch Action / Scrolling On Mobile Devices (Joomla 6)

Andreas

Andreas

EasyStore 2 weeks ago

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!

0
12 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #232833

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. To better address the issue, could you kindly provide Joomla administrator access? This will enable me to thoroughly investigate the matter and provide you with a prompt resolution.

I appreciate your cooperation and will ensure to get back to you as soon as possible.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
Andreas
Andreas
Accepted Answer
2 weeks ago #232852

In hidden content

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #232864

Login denied! Your account has either been blocked or you have not activated it yet.

0
Andreas
Andreas
Accepted Answer
2 weeks ago #232888

Sorry forgott to enable you account, try again please :)

0
Andreas
Andreas
Accepted Answer
2 weeks ago #232889

Also it works fine i chromes simulation mode

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #232906

Please remove this script.

0
Andreas
Andreas
Accepted Answer
2 weeks ago #232993

That script was intended to address that error; I’ve removed it now, but the problem persists.

Please test the website on your mobile phone—I’m using an iPhone 14, for example.

Feel free to explore the site further and see if you notice anything.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #233000

Please check now and let me know. Thanks

Note: Before check, Please clean your Joomla cache.

-Thanks

0
Andreas
Andreas
Accepted Answer
2 weeks ago #233068

Same fault. Please try to fix this issue. And try with your own phone?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #233102

Hi,

We've investigated the mobile scrolling issue on your site. On phones and tablets, the page was ending up with two nested scroll areas that interfered with each other, which made scrolling feel stuck or unresponsive. This did not affect desktop.

We've applied a CSS fix that ensures scrolling uses a single scroll area on mobile only. Desktop styling is unchanged.

Please clear your phone's browser cache (or open the site in a private/incognito window) and test again. If anything still feels off on a specific device, let us know the phone model and browser and we'll check further.

Best regards

0
Andreas
Andreas
Accepted Answer
2 weeks ago #233103

Hi,

Thank you for investigating this and for applying the fix. I’ve tested it and it seems to be working much better now.

Just out of curiosity, do you know how the two nested scroll areas could have occurred in the first place? Was it caused by the template, an update, some custom CSS, or something else?

I’d like to understand what caused it so I can hopefully avoid the same issue happening again in the future.

Best regards, Andreas

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #233104

We haven’t been able to identify the exact cause of the issue yet. Interestingly, the same problem doesn’t occur with the Nectar template. If we can identify the root cause, we’ll fix it in the next update.

0