Stacks causing jumping to top of page on desktop but not laptop

the jumping you see is caused by Stacks re-rendering the page but is not able to locate the place in the page where it was before the render began.

this can potentially be caused by a lot of different things, 99% of the time it’s one of two things:

  1. bad content
    “bad content” is anything that mangles the HTML. the most common thing I see is when someone uses a snippet of HTML they found on the web, perhaps for analytics or something similar, and missing a character or line off the end when copying. the result is an un-closed <div> or similar. this could also come from styled text copied and pasted from an external source.

    Solution: look for anything “weird” going on on the page. if you have entered any HTML on the page, triple check to make sure it is free of errors. make sure to alway Cmd-Opt-V when pasting – which pastes and clears styles.

  2. super slow
    if the complete render of Edit mode gets to about 5 seconds then Stacks gives up and just scrolls to the top of the page.

    Solution: the only solution is to simplify the page to make it faster. at that point it may be a good idea to simplify the page anyway – a slow page in Edit mode often indicates a level of complexity that will affect the people visiting your site as well as your Google rankings.

If you can’t find either of these things, then it’s time to contact YourHead support and share your project file via DropBox with us. We can take a look at it here and give you a better idea of what’s happening.

Isaiah

3 Likes