{"action":"created","issue":{"url":"https://api.github.com/repos/uberfire/uberfire/issues/330","repository_url":"https://api.github.com/repos/uberfire/uberfire","labels_url":"https://api.github.com/repos/uberfire/uberfire/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/uberfire/uberfire/issues/330/comments","events_url":"https://api.github.com/repos/uberfire/uberfire/issues/330/events","html_url":"https://github.com/uberfire/uberfire/pull/330","id":142873264,"number":330,"title":"JBPM-5014 - OnResize needs to be called after animation finishes to a…","user":{"login":"cristianonicolai","id":570894,"avatar_url":"https://avatars.githubusercontent.com/u/570894?v=3","gravatar_id":"","url":"https://api.github.com/users/cristianonicolai","html_url":"https://github.com/cristianonicolai","followers_url":"https://api.github.com/users/cristianonicolai/followers","following_url":"https://api.github.com/users/cristianonicolai/following{/other_user}","gists_url":"https://api.github.com/users/cristianonicolai/gists{/gist_id}","starred_url":"https://api.github.com/users/cristianonicolai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristianonicolai/subscriptions","organizations_url":"https://api.github.com/users/cristianonicolai/orgs","repos_url":"https://api.github.com/users/cristianonicolai/repos","events_url":"https://api.github.com/users/cristianonicolai/events{/privacy}","received_events_url":"https://api.github.com/users/cristianonicolai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-23T06:21:45Z","updated_at":"2016-03-23T13:23:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/uberfire/uberfire/pulls/330","html_url":"https://github.com/uberfire/uberfire/pull/330","diff_url":"https://github.com/uberfire/uberfire/pull/330.diff","patch_url":"https://github.com/uberfire/uberfire/pull/330.patch"},"body":"…llow correct width and height"},"comment":{"url":"https://api.github.com/repos/uberfire/uberfire/issues/comments/200341743","html_url":"https://github.com/uberfire/uberfire/pull/330#issuecomment-200341743","issue_url":"https://api.github.com/repos/uberfire/uberfire/issues/330","id":200341743,"user":{"login":"cristianonicolai","id":570894,"avatar_url":"https://avatars.githubusercontent.com/u/570894?v=3","gravatar_id":"","url":"https://api.github.com/users/cristianonicolai","html_url":"https://github.com/cristianonicolai","followers_url":"https://api.github.com/users/cristianonicolai/followers","following_url":"https://api.github.com/users/cristianonicolai/following{/other_user}","gists_url":"https://api.github.com/users/cristianonicolai/gists{/gist_id}","starred_url":"https://api.github.com/users/cristianonicolai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristianonicolai/subscriptions","organizations_url":"https://api.github.com/users/cristianonicolai/orgs","repos_url":"https://api.github.com/users/cristianonicolai/repos","events_url":"https://api.github.com/users/cristianonicolai/events{/privacy}","received_events_url":"https://api.github.com/users/cristianonicolai/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T13:23:05Z","updated_at":"2016-03-23T13:23:05Z","body":"so the answer is yes and no :) The change makes sure that onResize() is only called after the animation is finished. I created two other checks that ensure onResize() is called when onComplete() callback is executed. Had to do a bit of refactor to allow the internal inner classes to be available for testing."}}