angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.54k stars 3k forks source link

UI-router location urls/hashes do not work with IE/Edge back/forward buttons when the angular app is hosted inside an iFrame #3484

Closed vincesocal closed 4 years ago

vincesocal commented 7 years ago

This issue tracker is for Bug Reports and Feature Requests only. Please direct requests for help to StackOverflow. See http://bit.ly/UIR-SOF for details.

This is a:

My version of UI-Router is: 0.2.14

Bug Report

Current Behavior:

UI-Router urls/hashes does not register in IE and Edge browser history when the angular app is hosted inside an iFrame. Hence, the browser back/forward buttons do not work. It is working with Chrome/Firefox/Safari/Opera.

Expected Behavior:

The browser back/forward buttons should work in IE/Edge as it does in Chrome/Firefox/Safari/Opera when the angular app is hosted inside an iFrame.

Link to Plunker that reproduces the issue:

http://bit.ly/UIR-Plunk

Feature Request

(feature request here)

General Query

Please direct general implementation questions to StackOverflow: http://stackoverflow.com/questions/ask?tags=angularjs,angular-ui-router

Please review the Sample Application which highlights common approaches: https://github.com/ui-router/sample-app-ng1

(general query here)

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

This does not mean that the issue is invalid. Valid issues may be reopened.

Thank you for your contributions.