{"action":"created","issue":{"url":"https://api.github.com/repos/legomushroom/mojs/issues/182","repository_url":"https://api.github.com/repos/legomushroom/mojs","labels_url":"https://api.github.com/repos/legomushroom/mojs/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/legomushroom/mojs/issues/182/comments","events_url":"https://api.github.com/repos/legomushroom/mojs/issues/182/events","html_url":"https://github.com/legomushroom/mojs/issues/182","id":303092538,"number":182,"title":"Burst animation happens twice on ios","user":{"login":"olemartin","id":151303,"avatar_url":"https://avatars1.githubusercontent.com/u/151303?v=4","gravatar_id":"","url":"https://api.github.com/users/olemartin","html_url":"https://github.com/olemartin","followers_url":"https://api.github.com/users/olemartin/followers","following_url":"https://api.github.com/users/olemartin/following{/other_user}","gists_url":"https://api.github.com/users/olemartin/gists{/gist_id}","starred_url":"https://api.github.com/users/olemartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olemartin/subscriptions","organizations_url":"https://api.github.com/users/olemartin/orgs","repos_url":"https://api.github.com/users/olemartin/repos","events_url":"https://api.github.com/users/olemartin/events{/privacy}","received_events_url":"https://api.github.com/users/olemartin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-07T13:11:54Z","updated_at":"2018-03-09T17:31:15Z","closed_at":null,"author_association":"NONE","body":"I am struggling with an issue with Burst.\r\nOn every desktop browser, and android phones, the burst is played normally. However, on ios something strange happens:\r\nThe animation is ran twice, and the total duration is the duration I sat as a property on children. So, on android there is one burst with a duration of five seconds and on ios the is two bursts with a total duration of five seconds.\r\n\r\nThe code for the mojs.Burst\r\n```\r\nconst mojs = require('mo-js');\r\n        this.burst = new mojs.Burst({\r\n            parent: '#label-' + this.props.id,\r\n            radius: 40,\r\n            degree: 300,\r\n            angle: 120,\r\n            count: 11,\r\n            children: {\r\n                shape: 'line',\r\n                radius: 6,\r\n                scale: 1,\r\n                stroke: this.props.color,\r\n                strokeDasharray: '100%',\r\n                strokeDashoffset: { '-100%': '100%' },\r\n                duration: 5000,\r\n                easing: 'quad.out',\r\n            }\r\n```\r\n\r\nThe triggering:\r\n```\r\nthis.burst.replay();\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/legomushroom/mojs/issues/comments/371883549","html_url":"https://github.com/legomushroom/mojs/issues/182#issuecomment-371883549","issue_url":"https://api.github.com/repos/legomushroom/mojs/issues/182","id":371883549,"user":{"login":"xavierfoucrier","id":2471223,"avatar_url":"https://avatars1.githubusercontent.com/u/2471223?v=4","gravatar_id":"","url":"https://api.github.com/users/xavierfoucrier","html_url":"https://github.com/xavierfoucrier","followers_url":"https://api.github.com/users/xavierfoucrier/followers","following_url":"https://api.github.com/users/xavierfoucrier/following{/other_user}","gists_url":"https://api.github.com/users/xavierfoucrier/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierfoucrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierfoucrier/subscriptions","organizations_url":"https://api.github.com/users/xavierfoucrier/orgs","repos_url":"https://api.github.com/users/xavierfoucrier/repos","events_url":"https://api.github.com/users/xavierfoucrier/events{/privacy}","received_events_url":"https://api.github.com/users/xavierfoucrier/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T17:31:15Z","updated_at":"2018-03-09T17:31:15Z","author_association":"NONE","body":"Tested and working fine on an iPad Pro with iOS 11.2.6: can't reproduce this issue."}}
{"actor":{"display_login":"xavierfoucrier"}}