{"action":"created","issue":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/19647","repository_url":"https://api.github.com/repos/twbs/bootstrap","labels_url":"https://api.github.com/repos/twbs/bootstrap/issues/19647/labels{/name}","comments_url":"https://api.github.com/repos/twbs/bootstrap/issues/19647/comments","events_url":"https://api.github.com/repos/twbs/bootstrap/issues/19647/events","html_url":"https://github.com/twbs/bootstrap/issues/19647","id":144851008,"number":19647,"title":"Navigating from dropdown tab doesn't remove active state","user":{"login":"nicolas-lindberg","id":2874372,"avatar_url":"https://avatars.githubusercontent.com/u/2874372?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-lindberg","html_url":"https://github.com/nicolas-lindberg","followers_url":"https://api.github.com/users/nicolas-lindberg/followers","following_url":"https://api.github.com/users/nicolas-lindberg/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-lindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-lindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-lindberg/subscriptions","organizations_url":"https://api.github.com/users/nicolas-lindberg/orgs","repos_url":"https://api.github.com/users/nicolas-lindberg/repos","events_url":"https://api.github.com/users/nicolas-lindberg/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-lindberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twbs/bootstrap/labels/js","name":"js","color":"ffc40d"},{"url":"https://api.github.com/repos/twbs/bootstrap/labels/v4","name":"v4","color":"563d7c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T10:06:52Z","updated_at":"2016-04-05T17:13:29Z","closed_at":null,"body":"When using the tab JavaScript plugin, if you select a nav item in a dropdown and then navigate to a new tab, the active state of nav items inside of the dropdown will still have the `active` class even though it's no longer selected.\r\n\r\nYou can see this behavior here:\r\nhttp://v4-alpha.getbootstrap.com/components/navs/#javascript-behavior\r\n\r\n<img width=\"468\" alt=\"nav-tabs-bug\" src=\"https://cloud.githubusercontent.com/assets/2874372/14172581/00240942-f739-11e5-84e8-b360d483d9b0.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/comments/205903399","html_url":"https://github.com/twbs/bootstrap/issues/19647#issuecomment-205903399","issue_url":"https://api.github.com/repos/twbs/bootstrap/issues/19647","id":205903399,"user":{"login":"willthemoor","id":54206,"avatar_url":"https://avatars.githubusercontent.com/u/54206?v=3","gravatar_id":"","url":"https://api.github.com/users/willthemoor","html_url":"https://github.com/willthemoor","followers_url":"https://api.github.com/users/willthemoor/followers","following_url":"https://api.github.com/users/willthemoor/following{/other_user}","gists_url":"https://api.github.com/users/willthemoor/gists{/gist_id}","starred_url":"https://api.github.com/users/willthemoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willthemoor/subscriptions","organizations_url":"https://api.github.com/users/willthemoor/orgs","repos_url":"https://api.github.com/users/willthemoor/repos","events_url":"https://api.github.com/users/willthemoor/events{/privacy}","received_events_url":"https://api.github.com/users/willthemoor/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T17:13:29Z","updated_at":"2016-04-05T17:13:29Z","body":"Note that it's not just a visual bug. It also means you can't select those items from the dropdowns a second time because of the `if(active){return}` at the top of the [`show()` method](https://github.com/twbs/bootstrap/blob/v4-dev/js/src/tab.js#L82)."}}