{"action":"created","issue":{"url":"https://api.github.com/repos/chenglou/react-motion/issues/339","repository_url":"https://api.github.com/repos/chenglou/react-motion","labels_url":"https://api.github.com/repos/chenglou/react-motion/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/chenglou/react-motion/issues/339/comments","events_url":"https://api.github.com/repos/chenglou/react-motion/issues/339/events","html_url":"https://github.com/chenglou/react-motion/issues/339","id":159660598,"number":339,"title":"react-native chrome debug remotely breaks react-motion","user":{"login":"micahrye","id":4001336,"avatar_url":"https://avatars.githubusercontent.com/u/4001336?v=3","gravatar_id":"","url":"https://api.github.com/users/micahrye","html_url":"https://github.com/micahrye","followers_url":"https://api.github.com/users/micahrye/followers","following_url":"https://api.github.com/users/micahrye/following{/other_user}","gists_url":"https://api.github.com/users/micahrye/gists{/gist_id}","starred_url":"https://api.github.com/users/micahrye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micahrye/subscriptions","organizations_url":"https://api.github.com/users/micahrye/orgs","repos_url":"https://api.github.com/users/micahrye/repos","events_url":"https://api.github.com/users/micahrye/events{/privacy}","received_events_url":"https://api.github.com/users/micahrye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-10T15:27:08Z","updated_at":"2016-06-18T03:11:19Z","closed_at":null,"body":"I was playing around react-motion in react-native. Simple animation was working fine, but when launch chrome remote debugging it no longer works. You can see in the code below I am simply change the position of the Text view and I am printing out the x value. This all works without debugging, but as soon as launch debugging \"x\" remains 0 and there is not change. \r\n\r\nNOTE: seeing similar issues as this react-native issue [4933]( https://github.com/facebook/react-native/issues/4933)\r\n\r\n```\r\n<Motion defaultStyle={{x: 0}} style={{x: spring(100)}}>\r\n   {val => {\r\n          let style = {\r\n            position: 'absolute',\r\n            top: val.x * 2.5,\r\n            left: val.x * 3,\r\n            backgroundColor: '#0000ff',\r\n            color: '#fff'\r\n          };\r\n          return (\r\n            <Text style={style}>{val.x}</Text>\r\n            )}}\r\n  </Motion>\r\n```\r\n\r\nreact-motion version: \r\n\"react-motion\": \"^0.4.4\",\r\n\r\nreact-native version: \r\nreact-native-cli: 0.2.0\r\nreact-native: 0.27.1\r\n\r\nChrome: Version 50.0.2661.102 (64-bit)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chenglou/react-motion/issues/comments/226918521","html_url":"https://github.com/chenglou/react-motion/issues/339#issuecomment-226918521","issue_url":"https://api.github.com/repos/chenglou/react-motion/issues/339","id":226918521,"user":{"login":"chenglou","id":1909539,"avatar_url":"https://avatars.githubusercontent.com/u/1909539?v=3","gravatar_id":"","url":"https://api.github.com/users/chenglou","html_url":"https://github.com/chenglou","followers_url":"https://api.github.com/users/chenglou/followers","following_url":"https://api.github.com/users/chenglou/following{/other_user}","gists_url":"https://api.github.com/users/chenglou/gists{/gist_id}","starred_url":"https://api.github.com/users/chenglou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenglou/subscriptions","organizations_url":"https://api.github.com/users/chenglou/orgs","repos_url":"https://api.github.com/users/chenglou/repos","events_url":"https://api.github.com/users/chenglou/events{/privacy}","received_events_url":"https://api.github.com/users/chenglou/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T03:11:19Z","updated_at":"2016-06-18T03:11:19Z","body":"Hmm, so I guess this is a RN issue? If so, should this be closed?"}}
{"actor":{"display_login":"chenglou"}}