{"action":"opened","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/7451","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/7451/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/7451/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/7451/events","html_url":"https://github.com/driftyco/ionic/issues/7451","id":168110460,"number":7451,"title":"Exception is thrown when a modal contains a refresher (on dismiss)","user":{"login":"frederikschubert","id":4137975,"avatar_url":"https://avatars.githubusercontent.com/u/4137975?v=3","gravatar_id":"","url":"https://api.github.com/users/frederikschubert","html_url":"https://github.com/frederikschubert","followers_url":"https://api.github.com/users/frederikschubert/followers","following_url":"https://api.github.com/users/frederikschubert/following{/other_user}","gists_url":"https://api.github.com/users/frederikschubert/gists{/gist_id}","starred_url":"https://api.github.com/users/frederikschubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frederikschubert/subscriptions","organizations_url":"https://api.github.com/users/frederikschubert/orgs","repos_url":"https://api.github.com/users/frederikschubert/repos","events_url":"https://api.github.com/users/frederikschubert/events{/privacy}","received_events_url":"https://api.github.com/users/frederikschubert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-28T14:31:10Z","updated_at":"2016-07-28T14:31:10Z","closed_at":null,"body":"#### Short description of the problem:\r\nWhen a modal contains a refresher and is dismissed, an exception is thrown. This only happens the first time the modal is dismissed. The app seems to function normally after that.\r\n\r\n#### What behavior are you expecting?\r\nNo exception should be thrown.\r\n\r\n**Steps to reproduce:**\r\n1. Create a modal that contains a refresher\r\n2. Present the modal\r\n3. Dismiss the modal\r\n\r\n**Other information:** (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)\r\n ```\r\nbrowser_adapter.ts:78 TypeError: Cannot read property 'style' of null\r\n    at Content.setScrollElementStyle (ionic.system.js:11448)\r\n    at Refresher._setCss (ionic.system.js:22096)\r\n    at Refresher.close (ionic.system.js:22077)\r\n    at e.invokeTask (zone.min.js:1)\r\n    at Object.onInvokeTask (ng_zone_impl.ts:56)\r\n    at e.invokeTask (zone.min.js:1)\r\n    at e.runTask (zone.min.js:1)\r\n    at invoke (zone.min.js:1)\r\n```\r\n\r\n**Which Ionic Version?**\r\n2.0.0-beta.10\r\n\r\n#### Plunker that shows an example of your issue\r\nhttp://plnkr.co/edit/BoqRMiE1MEWIDbkNOwqX?p=preview\r\n\r\n"}}
{"actor":{"display_login":"frederikschubert"}}