Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: (ionView): White screen when going back in history to a view with cache-view="false" #3216

Closed
RomanMinkin opened this issue Mar 3, 2015 · 32 comments
Assignees

Comments

@RomanMinkin
Copy link

Type: bug

Platform: ios 8 webview

White screen appears when going back in history to a view with cache-view="false" with new swipe-to-go-back gesture from master

<ion-view view-title="Test" cache-view="false"></ion-view>

Happens on iOS Emulator and actual iOS (iPhone 5S) on new swipe-to-go-back form master
Does not happen in Chrome Mobile Emulator on $ionicHistory.goBack()

Please let me know if you need any additional info...

@RomanMinkin RomanMinkin changed the title bug(ionView): White screen when going back in history to a view with cache-view="false" bug: bug(ionView): White screen when going back in history to a view with cache-view="false" Mar 3, 2015
@RomanMinkin RomanMinkin changed the title bug: bug(ionView): White screen when going back in history to a view with cache-view="false" bug: (ionView): White screen when going back in history to a view with cache-view="false" Mar 3, 2015
@hanford
Copy link

hanford commented Mar 9, 2015

+1

1 similar comment
@harry81
Copy link

harry81 commented Mar 17, 2015

+1

@calendee
Copy link

Confirming this as well. If the parent view is not cached, swiping back results in a white screen (with nav-bar if one exists). Happens if cache is disabled in view or routing.

@Fayozjon
Copy link

Justin

http://scaer.ru/analiz

18.03.2015, 14:09, "Justin Noel" notifications@github.com:Confirming this as well. If the parent view is not cached, swiping back results in a white screen (with nav-bar if one exists). Happens if cache is disabled in view or routing.

—Reply to this email directly or .

@Fayozjon
Copy link

harry81

http://scs24.co.uk/videokurs_opcion

17.03.2015, 17:45, "harry81" notifications@github.com:+1

—Reply to this email directly or .

@josephfinlayson
Copy link

+1

@calendee
Copy link

Related / duplicate of #2650

@daco
Copy link

daco commented Apr 16, 2015

+1

1 similar comment
@FabianAlbrecht
Copy link

+1

@alvaromb
Copy link

+1 but I guess it's not simple to solve this if we're not caching the back views.

@josephfinlayson
Copy link

It could be done by checking if the $ionicHistory.backView is cached and then cancelling the gesture if it isn't

@FMCorz
Copy link

FMCorz commented May 21, 2015

+1.

@fantasybei
Copy link

+1 i meet the same problem. really annoying

@do-web
Copy link

do-web commented Jul 4, 2015

+1 when this bug is solved!?

@boshmaf
Copy link

boshmaf commented Jul 6, 2015

+1

7 similar comments
@pooyaj
Copy link

pooyaj commented Jul 6, 2015

+1

@quanghoc
Copy link

+1

@jackyon
Copy link

jackyon commented Jul 23, 2015

+1

@vianneyniji
Copy link

+1

@mbdrian
Copy link

mbdrian commented Oct 19, 2015

+1

@borodatych
Copy link

+1

@brunomonteiro3
Copy link

+1

@Peege151
Copy link

Peege151 commented Dec 9, 2015

+1 any progress on this? Disabling swipe to go back as of now...

@tschuegge
Copy link

the same in 1.2

@1mw
Copy link

1mw commented Jan 12, 2016

+1 Still not working in 1.2.4

@kumaro
Copy link

kumaro commented Jan 18, 2016

+1

@floofydoug
Copy link

+1, i have to disable swipe to go back with $ionicConfigProvider.views.swipeBackEnabled(false); for now.

@balicekt
Copy link

+1

1 similar comment
@pluswave
Copy link

+1

@kocsmy
Copy link

kocsmy commented Jan 22, 2016

+99

@mgoubert
Copy link

+1

@ionic-team ionic-team locked and limited conversation to collaborators Jan 22, 2016
@mhartington
Copy link
Member

This is caused by caching being disabled. There is big benefit of caching you views, and an edge case like this isn't something we want to support.

If you're worried about data not being updated, you can use the view lifecycle events to make sure data is up to date.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests