I'm not sure if this problem has happened to others, but I thought I should post it here just in case.

From the home page on my local install, I have anchor links to another page. So the links are located on a second page and down the page. This works as expected.

However, once I leave the homepage and go to the second page where the anchor link is located, when I click on the back to top image, I go back to the top momentarily, then shoot back down the page where I was.

Here is what the urls look like:

homepage = /
link from homepage to second page = news#anchor12
This takes me to the news page and a location where anchor 12 is down the page.
Now I want to go back up the page so I click on the back to top arrow.
I go back up the page, but since my url link is news#anchor12 (the link I got from the homepage), when I get to the top of the page, the page thinks I want to go to anchor12 location, and I go back down the page.

As I say, this is a local install, so I can't share anything, but I do think I'm describing this well enough, and I'm certain that others have had this problem with the back to top module.

This issue appears to only be happening in Chrome (W7). Does not happen in Firefox and IE (W7).

I found this post that seems to relate the same problem (in JS):

http://stackoverflow.com/questions/28260224/jquery-animate-scrolltop-not...

Perhaps we can have a bit of code added to clear out the hash when clicking on back to top button?

Comments

acke’s picture

Status: Active » Closed (works as designed)

I tested this i Chrome and it's working. I think this issue was solved by the chrome team.