Durandal Modals and navigation (i.e. back button)

236 views
Skip to first unread message

Shaun Rowan

unread,
Dec 4, 2013, 10:46:32 AM12/4/13
to duran...@googlegroups.com
This issue is easily seen in the durandal application:

1) Navigate to "Modal Dialogs" demo
2) Click the button to show the modal
3) Click the browser back button

When doing this, the page navigates to the previous screen while keeping the dialog open, which is almost never what you want.  

Is there a best practice here for either closing dialogs or preventing navigation if one is open?

nateous

unread,
Sep 30, 2015, 4:40:29 PM9/30/15
to DurandalJS
I'm trying to solve this right now.  Did anyone come up with a good solution?

mahesh kumawat

unread,
Jun 14, 2016, 6:24:34 AM6/14/16
to DurandalJS
did anyone find the solution for this?
Reply all
Reply to author
Forward
0 new messages