-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
Description
I have a route with a query parameter with refreshModel
set to true. The route has a willTransition
hook, which prompts the user to confirm that they want to navigate away from the route. If the user presses cancel, the transition is aborted using transition.abort()
. This combination causes the router to enter infinite recursion where the user is presented with the confirm dialog over and over again until they press ok.
JSbin: http://jsbin.com/vuzaxe/1
Steps to reproduce: click one of the colors, press the cancel button on the confirmation dialog