{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/17723","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/17723/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/17723/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/17723/events","html_url":"https://github.com/facebook/react-native/issues/17723","id":291098081,"number":17723,"title":"TouchableOpacity does not respond immediately to changes in opacity property","user":{"login":"1335382915","id":17783665,"avatar_url":"https://avatars1.githubusercontent.com/u/17783665?v=4","gravatar_id":"","url":"https://api.github.com/users/1335382915","html_url":"https://github.com/1335382915","followers_url":"https://api.github.com/users/1335382915/followers","following_url":"https://api.github.com/users/1335382915/following{/other_user}","gists_url":"https://api.github.com/users/1335382915/gists{/gist_id}","starred_url":"https://api.github.com/users/1335382915/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1335382915/subscriptions","organizations_url":"https://api.github.com/users/1335382915/orgs","repos_url":"https://api.github.com/users/1335382915/repos","events_url":"https://api.github.com/users/1335382915/events{/privacy}","received_events_url":"https://api.github.com/users/1335382915/received_events","type":"User","site_admin":false},"labels":[{"id":337217254,"url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ededed","default":false},{"id":718241807,"url":"https://api.github.com/repos/facebook/react-native/labels/Stale","name":"Stale","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-24T06:29:11Z","updated_at":"2018-02-24T03:20:12Z","closed_at":"2018-02-24T03:20:12Z","author_association":"NONE","body":"### Is this a bug report?\r\nYes  \r\n### Have you read the Contributing Guidelines?\r\nYes\r\n### Environment:\r\nOS:  windows 7\r\nNode:  6.11.0\r\nnpm:  3.10.10\r\n\r\n### Packages: \r\nreact-native: 0.51.0\r\nreact: 16.0.0\r\n### Steps to Reproduce\r\nJust modify the opacity of the TouchableOpacity style property:\r\n```\r\n//constructor\r\nthis.state = {disabled: false}\r\n//render\r\nconst opacity = this.state.disabled ? 0.6 : 1;\r\n//return\r\n<View>\r\n    <TouchableOpacity style = {{width: 100, height: 50, backgroundColor: 'red', opacity}} />\r\n    <Button title = {'disable'} onPress = {() => this.setState({disabled: true})} />\r\n</View>\r\n```\r\nClick the button, and there is no change in vision, but the opacity really turns into 0.6 `console.log(opacity); //0.6`. After I clicked the TouchableOpacity, it worked fine.\r\n\r\nIf I replace TouchableOpacity with TouchableHighlight, everything works well.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"react-native-bot"}}