{"action":"created","issue":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/465","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/465/labels{/name}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/465/comments","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/465/events","html_url":"https://github.com/react-bootstrap/react-bootstrap/issues/465","id":65359229,"number":465,"title":"OverlayTrigger and parent-based contexts","user":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/labels/3%20-%20In%20Progress","name":"3 - In Progress","color":"CCCCCC"},{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/labels/help%20wanted","name":"help wanted","color":"bfe5bf"},{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/labels/needs%20a%20roadmap","name":"needs a roadmap","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-03-31T03:55:11Z","updated_at":"2015-05-10T00:44:00Z","closed_at":null,"body":"OverlayTrigger renders the overlay element into a new `<div />`, by default under `document.body`. When used with react-router, the overlay element is no longer a child of the overall router... things. This means that the overlay element does not receive the parent-based router context.\r\n\r\nThis is currently only causing a warning in React 0.13, so it's not urgent, but it could be a problem down the road for people who want to use components that want to access e.g. router context within an overlay.\r\n\r\n<!---\r\n@huboard:{\"order\":263.0,\"milestone_order\":465,\"custom_state\":\"\"}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/comments/100567167","html_url":"https://github.com/react-bootstrap/react-bootstrap/issues/465#issuecomment-100567167","issue_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/465","id":100567167,"user":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T00:44:00Z","updated_at":"2015-05-10T00:44:00Z","body":"Looking at the implementation, this is actually really nasty. `childContextTypes` and `contextTypes` are a static properties of component classes, so there isn't a good way to dynamically set them based on e.g. some `contextTypes` prop passed into `OverlayTrigger`.\n\nIt's nasty enough that I think this should be a wontfix, and that I should add instead a `PopoverWithRouterContext` (or something better-named) to react-router-bootstrap."}}