Open jgw96 opened 7 years ago
From @danbucholtz on May 4, 2016 21:35
Hi @oguzgelal 😄 ,
Why are you using the reload parameter? Does your app work without it?
Thanks, Dan
From @oguzgelal on May 4, 2016 22:3
Hello @danbucholtz, thanks for your reply 😊 I'm using the reload parameter because the transition doesn't happen without it.
From @danbucholtz on May 5, 2016 2:49
@oguzgelal, can you make a super simple codepen or plunkr for me? I am having a hard time visualizing this.
Thanks, Dan
From @oguzgelal on May 7, 2016 16:29
@danbucholtz Sorry for the late reply.
Well, this case might be a little hard to reproduce with plunker because of the database connections. However I created a simple screencast to make the issue easier to visualise. Here they are:
Edit: Actually let me give you the gfycat links so you don't have to watch the whole thing to start from the beginning 😄
This is the build with reload: true
https://gfycat.com/QueasyDecisiveBullfrog
This is the build without reload: true
https://gfycat.com/ThankfulUnrulyGannet
This is the build with reload: true
This is the build without reload: true
From @oguzgelal on April 12, 2016 21:44
Short description of the problem:
I'm trying to navigate from the state
app.profile.id
with parameter{id: x}
to the stateapp.profile.id
with parameter{id: y}
. I do it by$state.go('app.profile.id', {id: y}, {reload: true})
When Iconsole.log
the history stack, everything seems right (current view is state withy
and back view is the state withx
). 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 tox
. Also, when I hit the back button one more time, this time nothing happens at all, thegoBack()
completely breaks. I have cache enabled.What behavior are you expecting?
It should navigate back from page with id
y
to page with idx
, then the back button should keep working as it should.Steps to reproduce:
x
, and from there a link to profile page with idy
$state.go
withreload: true
y
. The transition tox
will not happen (even if the data changed tox
)Which Ionic Version? 1.2.4
Run
ionic info
from terminal/cmd prompt: (paste output below)Copied from original issue: driftyco/ionic#6143