{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/8565","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/8565/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/8565/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/8565/events","html_url":"https://github.com/facebook/react-native/issues/8565","id":163735614,"number":8565,"title":"Add possibility to subscribe a sequence enty animation complete","user":{"login":"vaukalak","id":1864367,"avatar_url":"https://avatars.githubusercontent.com/u/1864367?v=3","gravatar_id":"","url":"https://api.github.com/users/vaukalak","html_url":"https://github.com/vaukalak","followers_url":"https://api.github.com/users/vaukalak/followers","following_url":"https://api.github.com/users/vaukalak/following{/other_user}","gists_url":"https://api.github.com/users/vaukalak/gists{/gist_id}","starred_url":"https://api.github.com/users/vaukalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaukalak/subscriptions","organizations_url":"https://api.github.com/users/vaukalak/orgs","repos_url":"https://api.github.com/users/vaukalak/repos","events_url":"https://api.github.com/users/vaukalak/events{/privacy}","received_events_url":"https://api.github.com/users/vaukalak/received_events","type":"User","site_admin":false},"labels":[{"id":470317962,"url":"https://api.github.com/repos/facebook/react-native/labels/Icebox","name":"Icebox","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-04T19:42:42Z","updated_at":"2016-10-27T22:08:18Z","closed_at":null,"body":"Hello, it would be very handy if there been a possibility to subscribe an animation entry sequence. For example, we would like to to a fade-out => fade-in animation, and switch state when the view is invisible.\r\nHere an example with scale animation:\r\n```\r\nAnimated.sequence([\r\n   Animated.timing(\r\n      this.state.scale,\r\n      {\r\n         toValue: 0,\r\n         duration: 300,\r\n         onComplete: () => this.setState({someProp: 'new value'})\r\n      }\r\n   ),\r\n   Animated.timing(\r\n      this.state.scale,\r\n      {\r\n         toValue: 1,\r\n         duration: 300\r\n      }\r\n   ),\r\n]).start();\r\n```\r\n\r\nThe feature is implemented with: https://github.com/facebook/react-native/pull/8494"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/256784018","html_url":"https://github.com/facebook/react-native/issues/8565#issuecomment-256784018","issue_url":"https://api.github.com/repos/facebook/react-native/issues/8565","id":256784018,"user":{"login":"mkonicek","id":346214,"avatar_url":"https://avatars.githubusercontent.com/u/346214?v=3","gravatar_id":"","url":"https://api.github.com/users/mkonicek","html_url":"https://github.com/mkonicek","followers_url":"https://api.github.com/users/mkonicek/followers","following_url":"https://api.github.com/users/mkonicek/following{/other_user}","gists_url":"https://api.github.com/users/mkonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkonicek/subscriptions","organizations_url":"https://api.github.com/users/mkonicek/orgs","repos_url":"https://api.github.com/users/mkonicek/repos","events_url":"https://api.github.com/users/mkonicek/events{/privacy}","received_events_url":"https://api.github.com/users/mkonicek/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T22:08:18Z","updated_at":"2016-10-27T22:08:18Z","body":"Hi there! This issue is being closed because it has been inactive for a while.\n\nBut don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/add-possibility-to-subscribe-a-sequence-enty-animation-complete\n\nProduct Pains has been very useful in highlighting the top bugs and feature requests:\nhttps://productpains.com/product/react-native?tab=top\n\nAlso, if this issue is a bug, **please consider sending a pull request with a fix**.\n"}}
{"actor":{"display_login":"mkonicek"}}