Closed netcell closed 7 years ago
This is exactly my issue too (#8958) just much more in detail :-) 👍 Good explanation !
I submitted a PR to fix #8958
@manucorporat I can confirm that with your SwipeToGoBack
PR I did not see this issue, so looks like its fixed.
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!
Short description of the problem:
On 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.
Check this repository for a source code that is suffering from the problem, modified from the sidemenu starter template
What behavior are you expecting?
Swipe to go back should act the same as back button and not break the page.
Steps to reproduce:
ion-navbar
ion-list
with items that push other pages that also haveion-navbar
ion-searchbar
withshowCancelButton
and useionInput
to filter the items inion-list
Expectation: At step 8, the page should still be working as in step 5.
Related Information
ionViewWillEnter
orionViewDidEnter
. UPDATE: Please read this comment.ionViewDidEnter
for callingChangeDetectorRef.detectChanges
andChangeDetectorRef.reattach
just in case, but they doesn't seem to have any effect.Ionic Version 2.0.0-rc.1