Skip to content

Calling transitionTo in state's onEnter function #516

Closed
@Ryaan

Description

@Ryaan

$state.transitionTo doesn't appear to have any effect when called in the onEnter function when configuring states, neither does it appear to have any effect when called after a $stateChangeStart

Plunker example - http://plnkr.co/edit/02DgxY383LDnxwn4lqbE?p=preview

Stackoverflow post - http://plnkr.co/edit/02DgxY383LDnxwn4lqbE?p=preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions