Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 Spaniol likes this

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

Take care,

Shannon

Suggest an answer

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

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

573 views 19 17
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