{"action":"opened","issue":{"url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal/issues/235","repository_url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal","labels_url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal/issues/235/comments","events_url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal/issues/235/events","html_url":"https://github.com/dougludlow/ng2-bs3-modal/issues/235","id":303574893,"number":235,"title":"Bug when opening a second modal if the first one is still clossing","user":{"login":"pjmolina","id":713005,"avatar_url":"https://avatars2.githubusercontent.com/u/713005?v=4","gravatar_id":"","url":"https://api.github.com/users/pjmolina","html_url":"https://github.com/pjmolina","followers_url":"https://api.github.com/users/pjmolina/followers","following_url":"https://api.github.com/users/pjmolina/following{/other_user}","gists_url":"https://api.github.com/users/pjmolina/gists{/gist_id}","starred_url":"https://api.github.com/users/pjmolina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjmolina/subscriptions","organizations_url":"https://api.github.com/users/pjmolina/orgs","repos_url":"https://api.github.com/users/pjmolina/repos","events_url":"https://api.github.com/users/pjmolina/events{/privacy}","received_events_url":"https://api.github.com/users/pjmolina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-08T18:00:20Z","updated_at":"2018-03-08T18:00:20Z","closed_at":null,"author_association":"NONE","body":"Hi.\r\nI have found the following case: two or more consecutive modals must be shown (like wizard steps).\r\nIf you open a second modal when the first one is still closing, the UI freezes.\r\n\r\nRepro sample:  [https://stackblitz.com/edit/ng2-bs3-modal-case](https://stackblitz.com/edit/ng2-bs3-modal-case)\r\n\r\nSee `app/app-component.ts`  line 32 for second opening when the first one is still closing.\r\n\r\nCurrent work-around: avoid opening the second modal till ensuring the first one is fully closed.\r\nIn this simple case, it is fixed moving the logic from second opening from line 32 to 24 `modalClosed()`.\r\n\r\nHowever, I think this is a bug and should be fixed in the way, the library should properly deal with open and closing in safe and reliable ways, delaying opening if needed.\r\n\r\n\r\n"}}
{"actor":{"display_login":"pjmolina"}}