{"action":"opened","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/2066","labels_url":"https://api.github.com/repos/rackt/react-router/issues/2066/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/2066/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/2066/events","html_url":"https://github.com/rackt/react-router/issues/2066","id":108124951,"number":2066,"title":"IndexRoute's becomes active at wrong route","user":{"login":"pjuke","id":1030313,"avatar_url":"https://avatars.githubusercontent.com/u/1030313?v=3","gravatar_id":"","url":"https://api.github.com/users/pjuke","html_url":"https://github.com/pjuke","followers_url":"https://api.github.com/users/pjuke/followers","following_url":"https://api.github.com/users/pjuke/following{/other_user}","gists_url":"https://api.github.com/users/pjuke/gists{/gist_id}","starred_url":"https://api.github.com/users/pjuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjuke/subscriptions","organizations_url":"https://api.github.com/users/pjuke/orgs","repos_url":"https://api.github.com/users/pjuke/repos","events_url":"https://api.github.com/users/pjuke/events{/privacy}","received_events_url":"https://api.github.com/users/pjuke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-24T13:00:02Z","updated_at":"2015-09-24T13:00:02Z","closed_at":null,"body":"I have the following setup:\r\n\r\n\t<Route component={Application}>\r\n\t\t<Route path=\"/website\" component={Website}>\r\n\t\t\t<Route path=\"products\" component={WebsiteProducts}>\r\n\t\t\t\t<Route path=\":productId\" component={WebsiteProductsProduct} />\r\n\t\t\t\t<IndexRoute component={WebsiteProductsIndex} />\r\n\t\t\t</Route>\r\n\t\t\t<Route path=\"contact\" component={WebsiteContact} />\r\n\t\t\t<IndexRoute component={WebsiteOverview} />\r\n\t\t</Route>\r\n\t</Route>\r\n\r\nWith the following links in a menu:\r\n\r\n\t<Link to=\"/website\" onlyActiveOnIndex={true} activeClassName=\"active\">Overview</Link>\r\n\t<Link to=\"/website/products\" activeClassName=\"active\">Products</Link>\r\n\t<Link to=\"/website/products/15\" activeClassName=\"active\">Specific product</Link>\r\n\t<Link to=\"/website/contact\" activeClassName=\"active\">Contact</Link>\r\n\r\nVisiting URL `/website` makes **overview** active, and visiting `/website/contact` makes the **contact** active, just as predicted.\r\n\r\nBut visiting URL `/website/products` makes _both_ **overview** and **products** active. But if I visit `/website/products/15` the **products** and **specific product** gets highlighted (as intended).\r\n\r\nSo the issue is that by visiting the products URL, the overview (which is a an IndexRoute) still gets active, why is this? I thought the prop `onlyActiveOnIndex` would prevent this from happening."}}