{"action":"created","issue":{"url":"https://api.github.com/repos/ctrlplusb/react-sizeme/issues/137","repository_url":"https://api.github.com/repos/ctrlplusb/react-sizeme","labels_url":"https://api.github.com/repos/ctrlplusb/react-sizeme/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/ctrlplusb/react-sizeme/issues/137/comments","events_url":"https://api.github.com/repos/ctrlplusb/react-sizeme/issues/137/events","html_url":"https://github.com/ctrlplusb/react-sizeme/issues/137","id":316879435,"number":137,"title":"Cannot read property 'width' of undefined","user":{"login":"Ribesg","id":1339686,"avatar_url":"https://avatars1.githubusercontent.com/u/1339686?v=4","gravatar_id":"","url":"https://api.github.com/users/Ribesg","html_url":"https://github.com/Ribesg","followers_url":"https://api.github.com/users/Ribesg/followers","following_url":"https://api.github.com/users/Ribesg/following{/other_user}","gists_url":"https://api.github.com/users/Ribesg/gists{/gist_id}","starred_url":"https://api.github.com/users/Ribesg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ribesg/subscriptions","organizations_url":"https://api.github.com/users/Ribesg/orgs","repos_url":"https://api.github.com/users/Ribesg/repos","events_url":"https://api.github.com/users/Ribesg/events{/privacy}","received_events_url":"https://api.github.com/users/Ribesg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-23T16:05:40Z","updated_at":"2018-04-23T18:42:29Z","closed_at":"2018-04-23T18:42:29Z","author_association":"NONE","body":"This always ends up happening at some point when I resize the window, and it stops sizeMe from working until the page is refreshed.\r\n\r\n```\r\nUncaught TypeError: Cannot read property 'width' of undefined\r\n    at finalizeDomMutation\r\n    at Object.process\r\n    at processBatch\r\n```\r\nHappens in\r\n```js\r\nfunction finalizeDomMutation() {\r\n  debug(\"finalizeDomMutation invoked.\");\r\n\r\n  if (!getState(element)) {\r\n    debug(\"Aborting because element has been uninstalled\");\r\n    return;\r\n  }\r\n\r\n  var style = getState(element).style;\r\n  storeCurrentSize(element, style.width, style.height);\r\n  positionScrollbars(element, style.width, style.height);\r\n}\r\n```\r\nHere is the result of `getState(element)`:\r\n![image](https://user-images.githubusercontent.com/1339686/39138543-72e7a338-4720-11e8-9b2a-7df5f90f1ab9.png)\r\nSo, yeah, `style` isn't there. Is there something I'm doing wrong?"},"comment":{"url":"https://api.github.com/repos/ctrlplusb/react-sizeme/issues/comments/383680124","html_url":"https://github.com/ctrlplusb/react-sizeme/issues/137#issuecomment-383680124","issue_url":"https://api.github.com/repos/ctrlplusb/react-sizeme/issues/137","id":383680124,"user":{"login":"Ribesg","id":1339686,"avatar_url":"https://avatars1.githubusercontent.com/u/1339686?v=4","gravatar_id":"","url":"https://api.github.com/users/Ribesg","html_url":"https://github.com/Ribesg","followers_url":"https://api.github.com/users/Ribesg/followers","following_url":"https://api.github.com/users/Ribesg/following{/other_user}","gists_url":"https://api.github.com/users/Ribesg/gists{/gist_id}","starred_url":"https://api.github.com/users/Ribesg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ribesg/subscriptions","organizations_url":"https://api.github.com/users/Ribesg/orgs","repos_url":"https://api.github.com/users/Ribesg/repos","events_url":"https://api.github.com/users/Ribesg/events{/privacy}","received_events_url":"https://api.github.com/users/Ribesg/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T18:42:29Z","updated_at":"2018-04-23T18:42:29Z","author_association":"NONE","body":"Rolling back to 2.4.1 actually works, so this is a duplicate of #134 and #135"}}
{"actor":{"display_login":"Ribesg"}}