{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/3825","labels_url":"https://api.github.com/repos/facebook/react-native/issues/3825/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/3825/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/3825/events","html_url":"https://github.com/facebook/react-native/issues/3825","id":114482088,"number":3825,"title":"ScrollView doesn't take up 100% width","user":{"login":"niftylettuce","id":523141,"avatar_url":"https://avatars.githubusercontent.com/u/523141?v=3","gravatar_id":"","url":"https://api.github.com/users/niftylettuce","html_url":"https://github.com/niftylettuce","followers_url":"https://api.github.com/users/niftylettuce/followers","following_url":"https://api.github.com/users/niftylettuce/following{/other_user}","gists_url":"https://api.github.com/users/niftylettuce/gists{/gist_id}","starred_url":"https://api.github.com/users/niftylettuce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niftylettuce/subscriptions","organizations_url":"https://api.github.com/users/niftylettuce/orgs","repos_url":"https://api.github.com/users/niftylettuce/repos","events_url":"https://api.github.com/users/niftylettuce/events{/privacy}","received_events_url":"https://api.github.com/users/niftylettuce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-01T17:31:10Z","updated_at":"2015-11-02T11:21:15Z","closed_at":null,"body":"I have ScrollView with `flex: 1` inside a fully stretch container.  It only spans the width of the content, not the full width of the container.  The only way I can fix this is if I do `<ScrollView style={{ width: Dimensions.get('window').width }}>`.  Is there a better way?  I'd like to not have to explicitly declare the width, given that if my app supports screen rotation, then I'd have to resize the layout somehow and adjust that width state."},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/152992253","html_url":"https://github.com/facebook/react-native/issues/3825#issuecomment-152992253","issue_url":"https://api.github.com/repos/facebook/react-native/issues/3825","id":152992253,"user":{"login":"ms88privat","id":6705521,"avatar_url":"https://avatars.githubusercontent.com/u/6705521?v=3","gravatar_id":"","url":"https://api.github.com/users/ms88privat","html_url":"https://github.com/ms88privat","followers_url":"https://api.github.com/users/ms88privat/followers","following_url":"https://api.github.com/users/ms88privat/following{/other_user}","gists_url":"https://api.github.com/users/ms88privat/gists{/gist_id}","starred_url":"https://api.github.com/users/ms88privat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ms88privat/subscriptions","organizations_url":"https://api.github.com/users/ms88privat/orgs","repos_url":"https://api.github.com/users/ms88privat/repos","events_url":"https://api.github.com/users/ms88privat/events{/privacy}","received_events_url":"https://api.github.com/users/ms88privat/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T11:21:15Z","updated_at":"2015-11-02T11:21:15Z","body":"@niftylettuce could you please reproduce it on https://rnplay.org/ ?"}}