{"action":"created","issue":{"url":"https://api.github.com/repos/oblador/react-native-animatable/issues/75","repository_url":"https://api.github.com/repos/oblador/react-native-animatable","labels_url":"https://api.github.com/repos/oblador/react-native-animatable/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/oblador/react-native-animatable/issues/75/comments","events_url":"https://api.github.com/repos/oblador/react-native-animatable/issues/75/events","html_url":"https://github.com/oblador/react-native-animatable/issues/75","id":190862529,"number":75,"title":"Slow animation on nested components","user":{"login":"julesmoretti","id":744300,"avatar_url":"https://avatars.githubusercontent.com/u/744300?v=3","gravatar_id":"","url":"https://api.github.com/users/julesmoretti","html_url":"https://github.com/julesmoretti","followers_url":"https://api.github.com/users/julesmoretti/followers","following_url":"https://api.github.com/users/julesmoretti/following{/other_user}","gists_url":"https://api.github.com/users/julesmoretti/gists{/gist_id}","starred_url":"https://api.github.com/users/julesmoretti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julesmoretti/subscriptions","organizations_url":"https://api.github.com/users/julesmoretti/orgs","repos_url":"https://api.github.com/users/julesmoretti/repos","events_url":"https://api.github.com/users/julesmoretti/events{/privacy}","received_events_url":"https://api.github.com/users/julesmoretti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-21T23:08:42Z","updated_at":"2016-11-24T21:20:42Z","closed_at":null,"body":"I am probably not doing this right and so would love some pointers to help me identify how to improve performance:\r\n\r\nWhen the Opacity transition gets triggered from the this.state.BooleanTouchTrigger state, the transition is not existant, it just jumps to the end result. But when I increasing the duration time of the color transition to 2000, the color fades down but very slowly and in steps (1 > 0.6 > 0.2 > 0).\r\n\r\nIs this because nested Animatable is not recommended?\r\n\r\n```\r\n<Animatable.View\r\n\ttransition='opacity'\r\n\tduration={500}\r\n\teasing='linear'\r\n\tstyle={this.state.BooleanTouchTrigger?\r\n\t\t[styles.someCustomStyle, { opacity: 0}]:\r\n\t\t[styles.someCustomStyle, { opacity: 1}]\r\n\t}>\r\n\t<Animatable.Text\r\n\t\ttransition='color'\r\n\t\tduration={200}\r\n\t\teasing='linear'\r\n\t\tonPress={ () => this.setState({BooleanTouchTrigger: !this.state.BooleanTouchTrigger}) }\r\n\t\tstyle={this.state.someOtherNestedLogic?\r\n\t\t\t[styles.anotherCustomOne, styles.anotherCustomOneSelected]:\r\n\t\t\t[styles.anotherCustomOne, styles.anotherCustomOneDeselected]}\r\n\t\t>M</Animatable.Text>\r\n```"},"comment":{"url":"https://api.github.com/repos/oblador/react-native-animatable/issues/comments/262845863","html_url":"https://github.com/oblador/react-native-animatable/issues/75#issuecomment-262845863","issue_url":"https://api.github.com/repos/oblador/react-native-animatable/issues/75","id":262845863,"user":{"login":"udfalkso","id":2029383,"avatar_url":"https://avatars.githubusercontent.com/u/2029383?v=3","gravatar_id":"","url":"https://api.github.com/users/udfalkso","html_url":"https://github.com/udfalkso","followers_url":"https://api.github.com/users/udfalkso/followers","following_url":"https://api.github.com/users/udfalkso/following{/other_user}","gists_url":"https://api.github.com/users/udfalkso/gists{/gist_id}","starred_url":"https://api.github.com/users/udfalkso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udfalkso/subscriptions","organizations_url":"https://api.github.com/users/udfalkso/orgs","repos_url":"https://api.github.com/users/udfalkso/repos","events_url":"https://api.github.com/users/udfalkso/events{/privacy}","received_events_url":"https://api.github.com/users/udfalkso/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T21:20:42Z","updated_at":"2016-11-24T21:20:42Z","body":"Are you using remote debugging via chrome?  I've found in my app that sometimes this can cause extremely slow fade effects on android, but running native in emulator performs much better.  (This was with pre 1.0) "}}
{"actor":{"display_login":"udfalkso"}}