{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/8973","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/8973/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/8973/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/8973/events","html_url":"https://github.com/driftyco/ionic/issues/8973","id":186477701,"number":8973,"title":"[2.0.0-rc.1] [iOS] Swipe to go back breaks page","user":{"login":"netcell","id":3048558,"avatar_url":"https://avatars.githubusercontent.com/u/3048558?v=3","gravatar_id":"","url":"https://api.github.com/users/netcell","html_url":"https://github.com/netcell","followers_url":"https://api.github.com/users/netcell/followers","following_url":"https://api.github.com/users/netcell/following{/other_user}","gists_url":"https://api.github.com/users/netcell/gists{/gist_id}","starred_url":"https://api.github.com/users/netcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netcell/subscriptions","organizations_url":"https://api.github.com/users/netcell/orgs","repos_url":"https://api.github.com/users/netcell/repos","events_url":"https://api.github.com/users/netcell/events{/privacy}","received_events_url":"https://api.github.com/users/netcell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-01T07:54:26Z","updated_at":"2016-11-01T15:10:28Z","closed_at":"2016-11-01T15:10:28Z","body":"#### Short description of the problem:\r\n\r\nOn iOs, after swipe to go back to a page, that page seems to lose data binding. Actions still activate functions, but data are not rendered into view. This doesn't happen if back button on navigation bar was used instead.\r\n\r\nCheck [this repository ](https://github.com/netcell/Ionic2SwipeBackIssue)for a source code that is suffering from the problem, modified from the [sidemenu starter template](https://github.com/driftyco/ionic2-starter-sidemenu)\r\n\r\n#### What behavior are you expecting?\r\n\r\nSwipe to go back should act the same as back button and not break the page.\r\n\r\n**Steps to reproduce:**\r\n1. Create a page with\r\n- `ion-navbar`\r\n- `ion-list` with items that push other pages that also have `ion-navbar`\r\n- `ion-searchbar` with `showCancelButton` and use `ionInput` to filter the items in `ion-list`\r\n2. Build and run/emulate on iOs\r\n3. Click on an item to go to another page.\r\n4. Click back button on navbar\r\n5. Try search bar to see that the page is still working, the list is updated as user is typing. Notice that when tap on search bar would still display 'Cancel' button on the right side at this step.\r\n6. Repeat step 3, then go to step 7.\r\n7. Swipe to go bage to the list page.\r\n8. Try search bar to see that the list is NOT updated as user is typing. Notice that when tap on search bar, it does NOT display 'Cancel' button on the right side.\r\n\r\n**Expectation:**\r\nAt step 8, the page should still be working as in step 5.\r\n\r\n#### Related Information\r\n\r\n1. Check [this repository ](https://github.com/netcell/Ionic2SwipeBackIssue)for a source code that is suffering from the problem, modified from the [sidemenu starter template](https://github.com/driftyco/ionic2-starter-sidemenu).\r\n2. I did check the issue #8958 but it doesn't seem related since I do not implement `ionViewWillEnter` or `ionViewDidEnter`. **UPDATE:** Please read [this comment](https://github.com/driftyco/ionic/issues/8973#issuecomment-257533085).\r\n3. I did try implementing `ionViewDidEnter` for calling `ChangeDetectorRef.detectChanges` and `ChangeDetectorRef.reattach`  just in case, but they doesn't seem to have any effect.\r\n4. I saw no error or warning or log in the console (safari web inspector connected to the emulator iOS 9.2).\r\n5. The issue also happens on IonicView app running on iOS 10.1, iOS 9.3.5.\r\n\r\n**Ionic Version** 2.0.0-rc.1\r\n\r\n```\r\nCordova CLI: 6.3.1\r\nGulp version:  CLI version 3.9.1\r\nGulp local:   Local version 3.9.1\r\nIonic Framework Version: 2.0.0-rc.1\r\nIonic CLI Version: 2.1.1\r\nIonic App Lib Version: 2.1.1\r\nIonic App Scripts Version: 0.0.36\r\nios-deploy version: Not installed\r\nios-sim version: 5.0.8\r\nOS: Mac OS X El Capitan\r\nNode Version: v5.7.1\r\nXcode version: Xcode 7.2.1 Build version 7C1002\r\n```"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/257592070","html_url":"https://github.com/driftyco/ionic/issues/8973#issuecomment-257592070","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/8973","id":257592070,"user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T15:10:28Z","updated_at":"2016-11-01T15:10:28Z","body":"I am going to close this issue as a duplicate of #8958 for now since that issue is the underlying cause of this issue. Thanks everyone and thanks @netcell for the detailed issue!"}}
{"actor":{"display_login":"jgw96"}}