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

Syncing browser back with ionic history

$
0
0

@ninjakatz wrote:

I'm using the same ionic project for the web (mobile/desktop) as well as for a cordova app, which requires some hacking but works quite OK now.

One problem I'm having is that clicking the browser's back button breaks ionic's history, which is used by the app internal navigation.
The problem arises when clicking browser's back after manipulating the history view via ionicHistory, by using for example:
$ionicHistory.nextViewOptions({ //disable back
historyRoot: true,
disableBack: true
});
or
$ionicHistory.currentView($ionicHistory.backView());

Any solution or even idea towards this will be welcome.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



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