Skip to content

URL doesn't change after transition hooks is called. #2455

Closed
@tankiJong

Description

@tankiJong

I found this problem in my own work. I will explain this bug by the the sample.

The example is quite nice but i noticed that the URL didn't correctly changed. You may saw this bug by the following steps:

  1. run the app (now you're still unauthenticated)
  2. for convenience, you may directly visit this route. http://localhost:xxxx/new-state-vis/#/mymessages/inbox/ (change xxxx to your port)

(chris edit: http://christopherthielen.github.io/new-state-vis/#/mymessages/inbox/5648b50cc586cac4aed6836f )

and the bug appears. you will find the page has already jump to the login page but the url kept unchanged.

PS. In this example, onBefore hook is applied.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions