{"action":"created","issue":{"url":"https://api.github.com/repos/julianshapiro/velocity/issues/496","repository_url":"https://api.github.com/repos/julianshapiro/velocity","labels_url":"https://api.github.com/repos/julianshapiro/velocity/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/julianshapiro/velocity/issues/496/comments","events_url":"https://api.github.com/repos/julianshapiro/velocity/issues/496/events","html_url":"https://github.com/julianshapiro/velocity/issues/496","id":68910747,"number":496,"title":"Fade in / out having side-effects compared to jQuery's","user":{"login":"sampohaavisto","id":5328394,"avatar_url":"https://avatars.githubusercontent.com/u/5328394?v=3","gravatar_id":"","url":"https://api.github.com/users/sampohaavisto","html_url":"https://github.com/sampohaavisto","followers_url":"https://api.github.com/users/sampohaavisto/followers","following_url":"https://api.github.com/users/sampohaavisto/following{/other_user}","gists_url":"https://api.github.com/users/sampohaavisto/gists{/gist_id}","starred_url":"https://api.github.com/users/sampohaavisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampohaavisto/subscriptions","organizations_url":"https://api.github.com/users/sampohaavisto/orgs","repos_url":"https://api.github.com/users/sampohaavisto/repos","events_url":"https://api.github.com/users/sampohaavisto/events{/privacy}","received_events_url":"https://api.github.com/users/sampohaavisto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-04-16T12:15:05Z","updated_at":"2016-09-24T09:40:48Z","closed_at":null,"body":"Hello, \r\n\r\nI'm having issues with using 'fadeIn', 'fadeOut' shorthands. Also repeatable by scripting the same functionality (mocking the fade shorthands using display and other options).\r\n\r\nHere's a fiddle. http://jsfiddle.net/agdvxzm6/\r\n\r\nSomehow, there's one frame in the animation without any element in place so the swap is not very smooth.\r\n\r\nTested on Mac versions of Chrome 41 and FF 31.\r\n\r\nAnd if this is not a bug, could somebody help me set up smoother animations without the visual glitch?\r\n\r\nThank you for all the hard work and keep it up!"},"comment":{"url":"https://api.github.com/repos/julianshapiro/velocity/issues/comments/249355815","html_url":"https://github.com/julianshapiro/velocity/issues/496#issuecomment-249355815","issue_url":"https://api.github.com/repos/julianshapiro/velocity/issues/496","id":249355815,"user":{"login":"Rycochet","id":290714,"avatar_url":"https://avatars.githubusercontent.com/u/290714?v=3","gravatar_id":"","url":"https://api.github.com/users/Rycochet","html_url":"https://github.com/Rycochet","followers_url":"https://api.github.com/users/Rycochet/followers","following_url":"https://api.github.com/users/Rycochet/following{/other_user}","gists_url":"https://api.github.com/users/Rycochet/gists{/gist_id}","starred_url":"https://api.github.com/users/Rycochet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rycochet/subscriptions","organizations_url":"https://api.github.com/users/Rycochet/orgs","repos_url":"https://api.github.com/users/Rycochet/repos","events_url":"https://api.github.com/users/Rycochet/events{/privacy}","received_events_url":"https://api.github.com/users/Rycochet/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T09:40:48Z","updated_at":"2016-09-24T09:40:48Z","body":"Looking into this, and what's happening is that on the frame that complete is called a new animation is started - which starts to actually play on the next animation frame - meaning there will be a single frame between the two running.\r\n\r\nThinking we should see if we're in our current animation frame and the `complete` / `finish` / etc callbacks could start the next frame immediately.\r\n\r\nIt would be a minor version breaking change (assuming we can figure out where to put it in)..."}}
{"actor":{"display_login":"Rycochet"}}