{"action":"closed","issue":{"url":"https://api.github.com/repos/iddan/react-native-canvas/issues/55","repository_url":"https://api.github.com/repos/iddan/react-native-canvas","labels_url":"https://api.github.com/repos/iddan/react-native-canvas/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/iddan/react-native-canvas/issues/55/comments","events_url":"https://api.github.com/repos/iddan/react-native-canvas/issues/55/events","html_url":"https://github.com/iddan/react-native-canvas/issues/55","id":316613400,"number":55,"title":"Width and height can't be set on iOs simulator","user":{"login":"dmaksimovic","id":16853832,"avatar_url":"https://avatars1.githubusercontent.com/u/16853832?v=4","gravatar_id":"","url":"https://api.github.com/users/dmaksimovic","html_url":"https://github.com/dmaksimovic","followers_url":"https://api.github.com/users/dmaksimovic/followers","following_url":"https://api.github.com/users/dmaksimovic/following{/other_user}","gists_url":"https://api.github.com/users/dmaksimovic/gists{/gist_id}","starred_url":"https://api.github.com/users/dmaksimovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmaksimovic/subscriptions","organizations_url":"https://api.github.com/users/dmaksimovic/orgs","repos_url":"https://api.github.com/users/dmaksimovic/repos","events_url":"https://api.github.com/users/dmaksimovic/events{/privacy}","received_events_url":"https://api.github.com/users/dmaksimovic/received_events","type":"User","site_admin":false},"labels":[{"id":197531983,"url":"https://api.github.com/repos/iddan/react-native-canvas/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-22T21:06:24Z","updated_at":"2018-04-25T08:15:09Z","closed_at":"2018-04-25T08:15:09Z","author_association":"NONE","body":"Thanks for the library, so far so good!\r\n\r\nI tried using it by setting a width and height to some values, but whatever I do they remain at 300x150. Meaning:\r\n```\r\nrender() {\r\n    return <Canvas width={80} height={80} />\r\n}\r\n```\r\n\r\nand then immediately in componentWillReceiveProps or any other:\r\nconsole.log(canvas.width, canvas.height) - prints 300, 150\r\n\r\nI was looking at your source and I see webviewProperties({ width: 300, height: 150}) - it must be related to that. I didn't try this on an Android simulator yet, but once I have that info I'll share.\r\n\r\nAgain, thanks for the library!"}}
{"actor":{"display_login":"iddan"}}