Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49076

$state.go with {reload: true} messes with $ionicHistory.goBack()

$
0
0

@OguzGelal wrote:

I'm trying to navigate from the state app.profile.id with parameter {id: x} to the state app.profile.id with parameter {id: y}. I do it by $state.go('app.profile.id', {id: y}, {reload: true}) When I console.log the history stack, everything seems right (current view is state with y and back view is the state with x). The back button appears however the transition to the back view doesn't happen. When I hit the back button and manually refresh the data (I have pull down to refresh implemented), the data seems to be changed to x. Also, when I hit the back button one more time, this time nothing happens at all, the goBack() completely breaks. I have cache enabled.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>