{"action":"created","issue":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/749","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/749/labels{/name}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/749/comments","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/749/events","html_url":"https://github.com/react-bootstrap/react-bootstrap/issues/749","id":81681477,"number":749,"title":"InvariantViolation for Overlay Trigger for v0.23.0","user":{"login":"glifchits","id":1447967,"avatar_url":"https://avatars.githubusercontent.com/u/1447967?v=3","gravatar_id":"","url":"https://api.github.com/users/glifchits","html_url":"https://github.com/glifchits","followers_url":"https://api.github.com/users/glifchits/followers","following_url":"https://api.github.com/users/glifchits/following{/other_user}","gists_url":"https://api.github.com/users/glifchits/gists{/gist_id}","starred_url":"https://api.github.com/users/glifchits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glifchits/subscriptions","organizations_url":"https://api.github.com/users/glifchits/orgs","repos_url":"https://api.github.com/users/glifchits/repos","events_url":"https://api.github.com/users/glifchits/events{/privacy}","received_events_url":"https://api.github.com/users/glifchits/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/labels/1%20-%20Awaiting%20Response","name":"1 - Awaiting Response","color":"CCCCCC"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-28T00:06:27Z","updated_at":"2015-06-05T18:27:44Z","closed_at":"2015-06-05T01:36:10Z","body":"I upgraded to React Bootstrap 0.23.0 and moused over a component with an `OverlayTrigger` on it. I got the following error:\r\n\r\n```\r\nInvariant Violation: Element appears to be neither ReactComponent nor DOMNode (keys: )\r\n```\r\n\r\nI haven't digged into this library too deeply, but from the stacktrace it looks like the overlay trigger is getting `body` as its container node, then eventually calls `React.findDOMNode(body)` and this invokes the `InvariantViolation` for some reason because `body.render !== 'function'`, and React asserts that this is neither an HTMLComponent nor a DOMNode.\r\n\r\nWithout changing any code, **I downgraded to v0.22.6 and it worked again**. Is this a regression or is there some code I have to change?"},"comment":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/comments/109388392","html_url":"https://github.com/react-bootstrap/react-bootstrap/issues/749#issuecomment-109388392","issue_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/749","id":109388392,"user":{"login":"glifchits","id":1447967,"avatar_url":"https://avatars.githubusercontent.com/u/1447967?v=3","gravatar_id":"","url":"https://api.github.com/users/glifchits","html_url":"https://github.com/glifchits","followers_url":"https://api.github.com/users/glifchits/followers","following_url":"https://api.github.com/users/glifchits/following{/other_user}","gists_url":"https://api.github.com/users/glifchits/gists{/gist_id}","starred_url":"https://api.github.com/users/glifchits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glifchits/subscriptions","organizations_url":"https://api.github.com/users/glifchits/orgs","repos_url":"https://api.github.com/users/glifchits/repos","events_url":"https://api.github.com/users/glifchits/events{/privacy}","received_events_url":"https://api.github.com/users/glifchits/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T18:27:44Z","updated_at":"2015-06-05T18:27:44Z","body":"This is the offending file: https://github.com/pyalot/webgl-heatmap/blob/master/webgl-heatmap.js\r\n\r\nI just wrapped all of the code in an IIFE to make sure it doesn't define stuff on the global scope, and problem solved."}}