Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

$state.go($state.current, {}, {reload: true}); makes my header disappear

$
0
0

@drkhannah wrote:

when I call $state.go($state.current, {}, {reload: true}); in my controller my header disappears

if I comment this out, the header does not disappear, but then I don't have the desired affect of my view updating

its not hidden, its completely removed from the DOM

the code below is a function that uses a cordova plugin to invoke a native sdk, after the sdk completes, it returns to the javascript layer, the header is there then when it hits $state.go($state.current, {}, {reload: true}); the header goes away

checkout the stackoverflow I made for it, I can't format the code properly in this forum for some reason

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



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