Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,661
Community Members
 
Community Events
165
Community Groups

Prevent a page from scrolling to an iframe

I have an iframe at the bottom of a page.  When navigating to the page, the browser automatically scrolls down to the bottom of the page while the iframe loads.  Is there a way to prevent this behavior so that the browser will stay scrolled to the top of the page while the iframe loads?

1 answer

0 votes
Shannon S Atlassian Team Jun 18, 2021

Hi Casey,

Welcome to Atlassian Community. It's nice to have you join us. 

Can you tell me what browser you're using when this happens? Have you been able to replicate it in other browsers?

It sounds similar to the issue another user was having in Firefox, and they shared their solution. See Prevent Firefox to auto-scroll to an HTML embedded iframe.

Let me know if that helps.

Take care,

Shannon 

Chrome.

I'll try the linked solution.  Thanks.

Like Shannon S likes this
Shannon S Atlassian Team Jun 18, 2021

Thanks for that information! Please let us know how it goes.

Take care,

Shannon

@Casey Cook did you ever find a resolution to this?  I'm having the same issue in Chrome using the Confluence iFrame macro.  The firefox solution does not work for me.

@Corey Webster No, I ended up removing the iframe and re-creating the content in a table.  I did not try the solution that Shannon mentioned though. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

77 views 0 0
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you