{"action":"created","issue":{"url":"https://api.github.com/repos/STRML/react-grid-layout/issues/55","repository_url":"https://api.github.com/repos/STRML/react-grid-layout","labels_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/55/comments","events_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/55/events","html_url":"https://github.com/STRML/react-grid-layout/issues/55","id":73805070,"number":55,"title":"Getting layout[i].x === NaN when onLayoutChange is called","user":{"login":"ThePainnn","id":12285830,"avatar_url":"https://avatars.githubusercontent.com/u/12285830?v=3","gravatar_id":"","url":"https://api.github.com/users/ThePainnn","html_url":"https://github.com/ThePainnn","followers_url":"https://api.github.com/users/ThePainnn/followers","following_url":"https://api.github.com/users/ThePainnn/following{/other_user}","gists_url":"https://api.github.com/users/ThePainnn/gists{/gist_id}","starred_url":"https://api.github.com/users/ThePainnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThePainnn/subscriptions","organizations_url":"https://api.github.com/users/ThePainnn/orgs","repos_url":"https://api.github.com/users/ThePainnn/repos","events_url":"https://api.github.com/users/ThePainnn/events{/privacy}","received_events_url":"https://api.github.com/users/ThePainnn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-05-07T02:09:04Z","updated_at":"2016-12-06T13:29:07Z","closed_at":"2015-05-22T13:10:43Z","body":"Hi,\n\nI copied your basic example, putting my own layout with draggable and resizable to true (super simple layout: 4x4 grid with width and height to 1). Everything render fine at the first run, but when I click on an item to drag it, onLayoutChange get called and the layout get mess up. I've noted that I receive NaN on the x value of the item I clicked on. If i ignore this, it will never happen again, but it's kind of glitchy.\n\nAlso, I never see the actual resize icon at the lower right corner, I'm I missing something in the CSS?, I've copied most of your example.\n\nThanks\n"},"comment":{"url":"https://api.github.com/repos/STRML/react-grid-layout/issues/comments/265149529","html_url":"https://github.com/STRML/react-grid-layout/issues/55#issuecomment-265149529","issue_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/55","id":265149529,"user":{"login":"ThePainnn","id":12285830,"avatar_url":"https://avatars.githubusercontent.com/u/12285830?v=3","gravatar_id":"","url":"https://api.github.com/users/ThePainnn","html_url":"https://github.com/ThePainnn","followers_url":"https://api.github.com/users/ThePainnn/followers","following_url":"https://api.github.com/users/ThePainnn/following{/other_user}","gists_url":"https://api.github.com/users/ThePainnn/gists{/gist_id}","starred_url":"https://api.github.com/users/ThePainnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThePainnn/subscriptions","organizations_url":"https://api.github.com/users/ThePainnn/orgs","repos_url":"https://api.github.com/users/ThePainnn/repos","events_url":"https://api.github.com/users/ThePainnn/events{/privacy}","received_events_url":"https://api.github.com/users/ThePainnn/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T13:29:07Z","updated_at":"2016-12-06T13:29:07Z","body":"Sorry no. I sto investigating this issue since I also had some serious performance issue when combining it with D3 charts content.\r\n\r\nI've change my grid to gridstack.js (JQuery) which needed more work to make it work with React, but got great performance without "}}
{"actor":{"display_login":"ThePainnn"}}