{"action":"created","issue":{"url":"https://api.github.com/repos/tsuyoshiwada/react-stack-grid/issues/46","repository_url":"https://api.github.com/repos/tsuyoshiwada/react-stack-grid","labels_url":"https://api.github.com/repos/tsuyoshiwada/react-stack-grid/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/tsuyoshiwada/react-stack-grid/issues/46/comments","events_url":"https://api.github.com/repos/tsuyoshiwada/react-stack-grid/issues/46/events","html_url":"https://github.com/tsuyoshiwada/react-stack-grid/issues/46","id":311859988,"node_id":"MDU6SXNzdWUzMTE4NTk5ODg=","number":46,"title":"Error in client console: Infinity is an invalid value for the height css style property","user":{"login":"harrison0723","id":7886751,"node_id":"MDQ6VXNlcjc4ODY3NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/7886751?v=4","gravatar_id":"","url":"https://api.github.com/users/harrison0723","html_url":"https://github.com/harrison0723","followers_url":"https://api.github.com/users/harrison0723/followers","following_url":"https://api.github.com/users/harrison0723/following{/other_user}","gists_url":"https://api.github.com/users/harrison0723/gists{/gist_id}","starred_url":"https://api.github.com/users/harrison0723/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrison0723/subscriptions","organizations_url":"https://api.github.com/users/harrison0723/orgs","repos_url":"https://api.github.com/users/harrison0723/repos","events_url":"https://api.github.com/users/harrison0723/events{/privacy}","received_events_url":"https://api.github.com/users/harrison0723/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-06T06:22:41Z","updated_at":"2018-07-13T18:45:05Z","closed_at":null,"author_association":"NONE","body":"Complete error in Chrome console:\r\n\r\n```\r\nWarning: `Infinity` is an invalid value for the `height` css style property.\r\n\r\nCheck the render method of `TransitionGroup`.\r\n```\r\n\r\nIt didn't locate where that error comes from. It's simply a warning.js error. I'm getting this message after using react-stack-grid.\r\n"},"comment":{"url":"https://api.github.com/repos/tsuyoshiwada/react-stack-grid/issues/comments/404919905","html_url":"https://github.com/tsuyoshiwada/react-stack-grid/issues/46#issuecomment-404919905","issue_url":"https://api.github.com/repos/tsuyoshiwada/react-stack-grid/issues/46","id":404919905,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDkxOTkwNQ==","user":{"login":"gpinhey","id":766587,"node_id":"MDQ6VXNlcjc2NjU4Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/766587?v=4","gravatar_id":"","url":"https://api.github.com/users/gpinhey","html_url":"https://github.com/gpinhey","followers_url":"https://api.github.com/users/gpinhey/followers","following_url":"https://api.github.com/users/gpinhey/following{/other_user}","gists_url":"https://api.github.com/users/gpinhey/gists{/gist_id}","starred_url":"https://api.github.com/users/gpinhey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpinhey/subscriptions","organizations_url":"https://api.github.com/users/gpinhey/orgs","repos_url":"https://api.github.com/users/gpinhey/repos","events_url":"https://api.github.com/users/gpinhey/events{/privacy}","received_events_url":"https://api.github.com/users/gpinhey/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T18:45:05Z","updated_at":"2018-07-13T18:45:05Z","author_association":"NONE","body":"The root of this issue is based on ctrlplusb/react-sizeme#120 where `element-resize-detector` injects a div into the DOM at a very low level, bypassing React. This causes `react-sizeme` to return a width of 0 for that instant when the DOM under `react-stackgrid`'s node only consists of a 0-width div, so `react-stackgrid` lays out elements with 0 columns, resulting in a divide by 0.\r\n\r\nThis bug is ultimately harmless, as once React has a chance to mount the actual children as DOM nodes, `react-sizeme` re-evaluates and passes a non-zero width, so everything works out fine.\r\n\r\nA zero check here should fix the warning message: https://github.com/tsuyoshiwada/react-stack-grid/blob/25e61df87d7ad112a1873a83899d53aa48b079a7/src/components/StackGrid.js#L225"}}
{"actor":{"display_login":"gpinhey"}}