Skip to content

Using an href of # no longer resets ui-router state #2216

Closed
@Deklin

Description

@Deklin

I'm not sure when this broke, but you can see in this plunkr ahref="#" no longer triggers a change

http://plnkr.co/edit/GPpzcBP0Ewc5bH5MZE03?p=preview

You can click the RESET link after making some changes to reset to ahref="#" and nothing happens, previously this did work.

This code would respond to this change;
$urlRouterProvider.when('', '/GOHERE');

This no longer gets triggered when an href="#" is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions