Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 11d 07h 47m 29s
Claim 50% off
Solved SP Page Builder

Prevent Scrolling to iFrame

Asked by wegscheider office solution 1 year ago Last activity 1 year ago

Accepted answer

Marked as the solution
Atick Eashrak Shuvo Staff

Apologies for the inconvenience. The issue you're experiencing is related to how different browsers handle embedded iFrames—some, like Chrome and Firefox, automatically scroll to the iFrame on page load, while others, like Safari, do not. Unfortunately, this behavior is controlled by the browser and cannot be fully prevented.

As a partial workaround, I can add the loading="lazy" attribute to delay the loading of the iFrame slightly, which may reduce the likelihood of auto-scrolling.

Thank you for your understanding.

3 more replies

Atick Eashrak Shuvo Staff

Hi there!

Thank you for bringing this to our attention, and I sincerely apologize for the inconvenience caused.

To assist you more effectively, may I kindly request temporary administrative access to your site? This will allow me to thoroughly investigate and resolve the issue for you.

Before sharing the credentials, I strongly recommend taking a complete backup of your site to ensure all data remains secure.

Looking forward to your response.

Best regards

wegscheider office solution Asked this

Access-Information in Hidden Content.

Many Thanks.

wegscheider office solution Asked this

Many thanks for your efforts. If the ‘lazy’ attribute prevents scrolling,
which it obviously does, then my problem is solved.

Thank you very much!

Atick Eashrak Shuvo Staff

You're most welcome! I'm glad to hear the loading="lazy" attribute resolved the issue for you. If you need any further assistance or have other questions, feel free to reach out anytime.

Thank you again for your patience and cooperation.

Log in to reply.