{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/dialog/issues/204","repository_url":"https://api.github.com/repos/aurelia/dialog","labels_url":"https://api.github.com/repos/aurelia/dialog/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/dialog/issues/204/comments","events_url":"https://api.github.com/repos/aurelia/dialog/issues/204/events","html_url":"https://github.com/aurelia/dialog/issues/204","id":173413148,"number":204,"title":"Promise does not resolve anymore","user":{"login":"hadrienl","id":225382,"avatar_url":"https://avatars.githubusercontent.com/u/225382?v=3","gravatar_id":"","url":"https://api.github.com/users/hadrienl","html_url":"https://github.com/hadrienl","followers_url":"https://api.github.com/users/hadrienl/followers","following_url":"https://api.github.com/users/hadrienl/following{/other_user}","gists_url":"https://api.github.com/users/hadrienl/gists{/gist_id}","starred_url":"https://api.github.com/users/hadrienl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadrienl/subscriptions","organizations_url":"https://api.github.com/users/hadrienl/orgs","repos_url":"https://api.github.com/users/hadrienl/repos","events_url":"https://api.github.com/users/hadrienl/events{/privacy}","received_events_url":"https://api.github.com/users/hadrienl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-26T09:47:04Z","updated_at":"2016-08-30T06:40:30Z","closed_at":null,"body":"**I'm submitting a bug report**\r\n\r\n* **Library Version:**\r\n1.0.0-beta.3.0.0\r\n\r\n\r\n**Please tell us about your environment:**\r\n* **Operating System:**\r\nOSX 10.11.6\r\n\r\n* **Node Version:**\r\n6.2.0\r\n\r\n* **NPM Version:**\r\n3.8.9\r\n\r\n* **JSPM OR Webpack AND Version**\r\nAU\r\n\r\n* **Browser:**\r\nChrome 51\r\n\r\n* **Language:**\r\nESNext\r\n\r\n\r\n**Current behavior:**\r\nI've removed dialog css. I have not set a transition/animation on dialog closing/opening.\r\nI open a dialog, I wait for the promise to be resolve, I close the dialog, the promise is never resolved. It is if the dialog have an animation.\r\n\r\n**Expected/desired behavior:**\r\nThe promise should be resolved when calling controller.ok() or cancel() even if it is not animated."},"comment":{"url":"https://api.github.com/repos/aurelia/dialog/issues/comments/243347247","html_url":"https://github.com/aurelia/dialog/issues/204#issuecomment-243347247","issue_url":"https://api.github.com/repos/aurelia/dialog/issues/204","id":243347247,"user":{"login":"hadrienl","id":225382,"avatar_url":"https://avatars.githubusercontent.com/u/225382?v=3","gravatar_id":"","url":"https://api.github.com/users/hadrienl","html_url":"https://github.com/hadrienl","followers_url":"https://api.github.com/users/hadrienl/followers","following_url":"https://api.github.com/users/hadrienl/following{/other_user}","gists_url":"https://api.github.com/users/hadrienl/gists{/gist_id}","starred_url":"https://api.github.com/users/hadrienl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadrienl/subscriptions","organizations_url":"https://api.github.com/users/hadrienl/orgs","repos_url":"https://api.github.com/users/hadrienl/repos","events_url":"https://api.github.com/users/hadrienl/events{/privacy}","received_events_url":"https://api.github.com/users/hadrienl/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T06:40:30Z","updated_at":"2016-08-30T06:40:30Z","body":"Yes, I put back the animation, but I lost an hour to find why my promise never resolved (I wasn't the one who rewrite the dialog css), so it should be good to fix this or at least to warn about in the doc."}}
{"actor":{"display_login":"hadrienl"}}