Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Double Browser History Entry #1054

Closed
pbininda opened this issue Jun 14, 2012 · 7 comments
Closed

Double Browser History Entry #1054

pbininda opened this issue Jun 14, 2012 · 7 comments

Comments

@pbininda
Copy link

When I go to http://angularjs.org then navigate to the developer guide using the "Develop" menu, I have to press the browser back button twice to get back go the angularjs home page.

Same is probably true if you go to the dev guide through this link: http://docs.angularjs.org/guide/

This also applies to my own project at http://www.sekas.de/ptr/ptr-0.2.1/src/html/ptr.html

@IgorMinar
Copy link
Contributor

this should be fixed in 1.0.1 can you confirm?

@pbininda
Copy link
Author

Yes, fixed on angularjs.org 1.0.1. Tested with Chrome and IE9.

@kanwei
Copy link
Contributor

kanwei commented Mar 26, 2013

I am seeing this issue in all browsers, and it's a little issue but annoying, as it makes it feel like the back button isn't working. I have tried to debug this myself and I just can't figure out what the problem is...

Example:

  1. http://idx.showcaseidx.com/#/
  2. Click on the first listing
  3. Try to go back... needs to go twice.

The only culprit I can think of is $location.path is somehow adding two entries to the history.

@kanwei
Copy link
Contributor

kanwei commented Apr 11, 2013

Turns out, having an iFrame in a page will add another entry :)

@lajlev
Copy link

lajlev commented Aug 7, 2014

@kanwei Did you found a solution to this problem?

@someone3210
Copy link

Anyone find a solution to this? I'm seeing this issue now too for an app running within an iframe. Using version 1.2.26.

@9619977846
Copy link

@kanwei Did you found a solution to this problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants