{"action":"opened","issue":{"url":"https://api.github.com/repos/PredixDev/px-app-nav/issues/84","repository_url":"https://api.github.com/repos/PredixDev/px-app-nav","labels_url":"https://api.github.com/repos/PredixDev/px-app-nav/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/PredixDev/px-app-nav/issues/84/comments","events_url":"https://api.github.com/repos/PredixDev/px-app-nav/issues/84/events","html_url":"https://github.com/PredixDev/px-app-nav/issues/84","id":275716963,"number":84,"title":"Selected nav-item style issue with Angular routing guards","user":{"login":"dilipchandima","id":9445375,"avatar_url":"https://avatars1.githubusercontent.com/u/9445375?v=4","gravatar_id":"","url":"https://api.github.com/users/dilipchandima","html_url":"https://github.com/dilipchandima","followers_url":"https://api.github.com/users/dilipchandima/followers","following_url":"https://api.github.com/users/dilipchandima/following{/other_user}","gists_url":"https://api.github.com/users/dilipchandima/gists{/gist_id}","starred_url":"https://api.github.com/users/dilipchandima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dilipchandima/subscriptions","organizations_url":"https://api.github.com/users/dilipchandima/orgs","repos_url":"https://api.github.com/users/dilipchandima/repos","events_url":"https://api.github.com/users/dilipchandima/events{/privacy}","received_events_url":"https://api.github.com/users/dilipchandima/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-21T13:45:32Z","updated_at":"2017-11-21T13:45:32Z","closed_at":null,"author_association":"NONE","body":"I'm using `px-app-nav` with Angular and use https://angular.io/api/router/CanActivate, https://angular.io/api/router/CanDeactivate like router guards to guard the routing with some unsaved changes ( dirty application status ).\r\n\r\n**When click on `px-app-nav` item it shows like selected ( CSS changed ) but in that time If application is dirty the route change will not happen but the selected nav item is not change to user existing route url.**\r\n\r\n## Suggestion\r\n\r\nIf this selection can be done by checking the URL change in t.he browser this problem can be prevent."}}
{"actor":{"display_login":"dilipchandima"}}