{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/lottie-react-native/issues/215","repository_url":"https://api.github.com/repos/airbnb/lottie-react-native","labels_url":"https://api.github.com/repos/airbnb/lottie-react-native/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/lottie-react-native/issues/215/comments","events_url":"https://api.github.com/repos/airbnb/lottie-react-native/issues/215/events","html_url":"https://github.com/airbnb/lottie-react-native/issues/215","id":266548382,"number":215,"title":"Lottie doesn't play with imperative API when in a Modal","user":{"login":"ay5000","id":15784560,"avatar_url":"https://avatars0.githubusercontent.com/u/15784560?v=4","gravatar_id":"","url":"https://api.github.com/users/ay5000","html_url":"https://github.com/ay5000","followers_url":"https://api.github.com/users/ay5000/followers","following_url":"https://api.github.com/users/ay5000/following{/other_user}","gists_url":"https://api.github.com/users/ay5000/gists{/gist_id}","starred_url":"https://api.github.com/users/ay5000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ay5000/subscriptions","organizations_url":"https://api.github.com/users/ay5000/orgs","repos_url":"https://api.github.com/users/ay5000/repos","events_url":"https://api.github.com/users/ay5000/events{/privacy}","received_events_url":"https://api.github.com/users/ay5000/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-18T15:59:54Z","updated_at":"2017-12-21T16:23:43Z","closed_at":"2017-11-21T07:51:04Z","author_association":"NONE","body":"I have a lottie file that works great in a normal view, but when I try to add it to a Modal (https://github.com/maxs15/react-native-modalbox) it doesn't play at all. I just get a rendering of the first frame. How can I fix? I am using the imperative API."},"comment":{"url":"https://api.github.com/repos/airbnb/lottie-react-native/issues/comments/353393564","html_url":"https://github.com/airbnb/lottie-react-native/issues/215#issuecomment-353393564","issue_url":"https://api.github.com/repos/airbnb/lottie-react-native/issues/215","id":353393564,"user":{"login":"aphillipo","id":52347,"avatar_url":"https://avatars3.githubusercontent.com/u/52347?v=4","gravatar_id":"","url":"https://api.github.com/users/aphillipo","html_url":"https://github.com/aphillipo","followers_url":"https://api.github.com/users/aphillipo/followers","following_url":"https://api.github.com/users/aphillipo/following{/other_user}","gists_url":"https://api.github.com/users/aphillipo/gists{/gist_id}","starred_url":"https://api.github.com/users/aphillipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aphillipo/subscriptions","organizations_url":"https://api.github.com/users/aphillipo/orgs","repos_url":"https://api.github.com/users/aphillipo/repos","events_url":"https://api.github.com/users/aphillipo/events{/privacy}","received_events_url":"https://api.github.com/users/aphillipo/received_events","type":"User","site_admin":false},"created_at":"2017-12-21T16:23:42Z","updated_at":"2017-12-21T16:23:42Z","author_association":"NONE","body":"```javascript\r\n  componentDidMount() {\r\n   setTimeout(() => this.animation.play(), 100);\r\n  }\r\n```\r\n\r\nFixed things for me. This should really work with this though but I guess the modal mounts stuff before it fades in breaking things?"}}
{"actor":{"display_login":"aphillipo"}}