Prevent Scrolling To IFrame - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Prevent Scrolling To IFrame

WS

wegscheider office solution

SP Page Builder 3 months ago

After loading my page, all browsers (except Safari) scroll directly to the iFrame built in via RAW HTML.

https://einrichtung-planen.de/daten/pcon-catalog

How can this be prevented?

0
5 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 months ago #197351

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.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 months ago #197345

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

0
WS
wegscheider office solution
Accepted Answer
3 months ago #197346

Access-Information in Hidden Content.

Many Thanks.

0
WS
wegscheider office solution
Accepted Answer
3 months ago #197368

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

Thank you very much!

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 months ago #197372

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.

0