Skip to content

URL fragment doesn't get updated when browsing inside a current state #1961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
borodean opened this issue May 18, 2015 · 3 comments
Closed

Comments

@borodean
Copy link

Nothing happens when an ui-sref pointing to an anchor on an already active state is clicked, so it cant really be used for browsing the portions of the current page.

Demo: http://plnkr.co/edit/6KM0DRXB38gcGjgYkgjd?p=preview
Switching from beta to any of alpha works; switching between alpha is not—hash stays the same.

@eddiemonge
Copy link
Contributor

Duplicate of #701

@nateabele
Copy link
Contributor

Looks like this is actually a bug related to the patch that fixed #701.

@nateabele nateabele reopened this Aug 17, 2015
@wkunert
Copy link

wkunert commented Sep 8, 2015

A (dirty) fix until this issue is addressed: Adding data-ui-sref-opts="{reload: true}" to the links makes the Plunkr work (but obviously reloads the state as a whole). Just mentioning it because some people might need it.

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

No branches or pull requests

4 participants