{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/6895","repository_url":"https://api.github.com/repos/ionic-team/ionic","labels_url":"https://api.github.com/repos/ionic-team/ionic/issues/6895/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic/issues/6895/comments","events_url":"https://api.github.com/repos/ionic-team/ionic/issues/6895/events","html_url":"https://github.com/ionic-team/ionic/issues/6895","id":160135801,"number":6895,"title":"Toasts are not hidden when multiple toasts are shown","user":{"login":"stalniy","id":1159966,"avatar_url":"https://avatars0.githubusercontent.com/u/1159966?v=3","gravatar_id":"","url":"https://api.github.com/users/stalniy","html_url":"https://github.com/stalniy","followers_url":"https://api.github.com/users/stalniy/followers","following_url":"https://api.github.com/users/stalniy/following{/other_user}","gists_url":"https://api.github.com/users/stalniy/gists{/gist_id}","starred_url":"https://api.github.com/users/stalniy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stalniy/subscriptions","organizations_url":"https://api.github.com/users/stalniy/orgs","repos_url":"https://api.github.com/users/stalniy/repos","events_url":"https://api.github.com/users/stalniy/events{/privacy}","received_events_url":"https://api.github.com/users/stalniy/received_events","type":"User","site_admin":false},"labels":[{"id":296092548,"url":"https://api.github.com/repos/ionic-team/ionic/labels/platform:ios","name":"platform:ios","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-14T09:27:35Z","updated_at":"2017-07-09T17:59:09Z","closed_at":"2016-06-14T14:29:28Z","body":"#### Short description of the problem:\n\nWhen multiple toasts are shown with `duration` field then only first toast is dismissed. All others present on the view with no respect to duration timeout.\n#### What behavior are you expecting?\n\nAll toasts are hidden after duration timeout is exceeded\n\n**Steps to reproduce:**\n1. Create a button with click handler which shows new toast message\n2. Click on that button multiple times\n\n**Other information:**\n`ionViewDidEnter` called only for the first toast and not for others, so timeout is not even setup. When I comment out line https://github.com/driftyco/ionic/blob/2.0/src/components/toast/toast.ts#L84 then everything works as expected.\n\nI believe there is a similar issue with `Loading` component.\n\n**Which Ionic Version?** 1.x or 2.x\n2.x\n#### Plunker that shows an example of your issue\n\nhttp://plnkr.co/edit/EqLn7l?p=preview\n\n**Run `ionic info` from terminal/cmd prompt:** (paste output below)\nCordova CLI: 6.2.0\nGulp version:  CLI version 3.9.1\nGulp local:  \nIonic Framework Version: 2.0.0-beta.8\nIonic CLI Version: 2.0.0-beta.30\nIonic App Lib Version: 2.0.0-beta.16\nios-deploy version: Not installed\nios-sim version: 5.0.8 \nOS: Mac OS X Yosemite\nNode Version: v6.2.1\nXcode version: Xcode 7.2.1 Build version 7C1002 \n"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/comments/313935291","html_url":"https://github.com/ionic-team/ionic/issues/6895#issuecomment-313935291","issue_url":"https://api.github.com/repos/ionic-team/ionic/issues/6895","id":313935291,"user":{"login":"xDarp","id":3628301,"avatar_url":"https://avatars0.githubusercontent.com/u/3628301?v=3","gravatar_id":"","url":"https://api.github.com/users/xDarp","html_url":"https://github.com/xDarp","followers_url":"https://api.github.com/users/xDarp/followers","following_url":"https://api.github.com/users/xDarp/following{/other_user}","gists_url":"https://api.github.com/users/xDarp/gists{/gist_id}","starred_url":"https://api.github.com/users/xDarp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xDarp/subscriptions","organizations_url":"https://api.github.com/users/xDarp/orgs","repos_url":"https://api.github.com/users/xDarp/repos","events_url":"https://api.github.com/users/xDarp/events{/privacy}","received_events_url":"https://api.github.com/users/xDarp/received_events","type":"User","site_admin":false},"created_at":"2017-07-09T17:59:09Z","updated_at":"2017-07-09T17:59:09Z","body":"The issue remains, when show 2 or more Toast from a Modal, only the first one dissapear it. \r\n\r\n@ionic/cli-utils : 1.4.0\r\nCordova CLI : 7.0.1 \r\nIonic CLI : 3.4.0\r\n@ionic/app-scripts              : 2.0.0\r\n@ionic/cli-plugin-cordova       : 1.4.0\r\n@ionic/cli-plugin-ionic-angular : 1.3.1\r\nCordova Platforms               : ios 4.4.0\r\nIonic Framework   : ionic-angular 3.5.0"}}
{"actor":{"display_login":"xDarp"}}