{"action":"created","issue":{"url":"https://api.github.com/repos/Popmotion/popmotion/issues/350","repository_url":"https://api.github.com/repos/Popmotion/popmotion","labels_url":"https://api.github.com/repos/Popmotion/popmotion/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/Popmotion/popmotion/issues/350/comments","events_url":"https://api.github.com/repos/Popmotion/popmotion/issues/350/events","html_url":"https://github.com/Popmotion/popmotion/issues/350","id":327159244,"number":350,"title":"react native pose Draggable \"Hello, world\" isn't dragging","user":{"login":"spruce-bruce","id":59978,"avatar_url":"https://avatars0.githubusercontent.com/u/59978?v=4","gravatar_id":"","url":"https://api.github.com/users/spruce-bruce","html_url":"https://github.com/spruce-bruce","followers_url":"https://api.github.com/users/spruce-bruce/followers","following_url":"https://api.github.com/users/spruce-bruce/following{/other_user}","gists_url":"https://api.github.com/users/spruce-bruce/gists{/gist_id}","starred_url":"https://api.github.com/users/spruce-bruce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spruce-bruce/subscriptions","organizations_url":"https://api.github.com/users/spruce-bruce/orgs","repos_url":"https://api.github.com/users/spruce-bruce/repos","events_url":"https://api.github.com/users/spruce-bruce/events{/privacy}","received_events_url":"https://api.github.com/users/spruce-bruce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-29T03:29:43Z","updated_at":"2018-05-30T02:59:39Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nI'm checking out the library to use in an app I'm building, and I'm trying a simple draggable example. I think I'm probably getting something basic wrong, but I can get non-draggable animations to work just fine using the posed component below.\r\n\r\n**To Reproduce**\r\n```\r\nconst config = {\r\n  draggable:true\r\n};\r\n\r\nclass Inner extends Component {\r\n  render() {\r\n    return (\r\n      <View style={{backgroundColor: 'red', height: 100, width: 100}}>\r\n        <Text>Some Test</Text>\r\n      </View>\r\n    );\r\n  }\r\n}\r\n\r\nconst PosedInner = posed(Inner)(config);\r\nclass Outer extends Component {\r\n  state = { isVisible: false }\r\n\r\n  render() {\r\n    return (\r\n      <View style={{width: 200, height: 300, backgroundColor: 'green'}}>\r\n        <PosedInner />\r\n      </View>\r\n    );\r\n  }\r\n}\r\n\r\nexport default Outer;\r\n```\r\n\r\n**Expected behavior**\r\nI'm expecting my `Inner` component to be draggable\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: os x 10.13.4\r\n\r\n**Smartphone (please complete the following information):**\r\n - Device: iPhone6 simulator\r\n - OS: 11.3\r\n"},"comment":{"url":"https://api.github.com/repos/Popmotion/popmotion/issues/comments/393014912","html_url":"https://github.com/Popmotion/popmotion/issues/350#issuecomment-393014912","issue_url":"https://api.github.com/repos/Popmotion/popmotion/issues/350","id":393014912,"user":{"login":"spruce-bruce","id":59978,"avatar_url":"https://avatars0.githubusercontent.com/u/59978?v=4","gravatar_id":"","url":"https://api.github.com/users/spruce-bruce","html_url":"https://github.com/spruce-bruce","followers_url":"https://api.github.com/users/spruce-bruce/followers","following_url":"https://api.github.com/users/spruce-bruce/following{/other_user}","gists_url":"https://api.github.com/users/spruce-bruce/gists{/gist_id}","starred_url":"https://api.github.com/users/spruce-bruce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spruce-bruce/subscriptions","organizations_url":"https://api.github.com/users/spruce-bruce/orgs","repos_url":"https://api.github.com/users/spruce-bruce/repos","events_url":"https://api.github.com/users/spruce-bruce/events{/privacy}","received_events_url":"https://api.github.com/users/spruce-bruce/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T02:59:39Z","updated_at":"2018-05-30T02:59:39Z","author_association":"NONE","body":"Well I'm giving it another shot, and I can make the \"hello world\" work when I use `posed.View` instead of my custom component from above. I'm going to leave this open because I'm still curious about why my example code didn't work."}}
{"actor":{"display_login":"spruce-bruce"}}