Home > Net >  Calendar iframe being scrolled to when page laoded
Calendar iframe being scrolled to when page laoded

Time:04-25

When my html page loads, the screen is automatically moved to a Calendar iframe I have installed

I've already tried scrolling="no" and it didn't work

Any way to work around this?

CodePudding user response:

add some js to your page

document.addEventListener('DOMContentLoaded', ()=>{document.body.scrollIntoView()});
  • Related