Ion-slide ionicBackButton problem


#1

Hi guys,

there seems to be a collision between ion-slide and ionicBackButton. when i change slide (not using state.go) > go to a child view > press on the soft back button > it takes me back to the initial slide (slide 0) and not the slide i came from. is there a way to override this behavior?

we have tried to override the back button on several events using:

// override soft back
// framework calls $rootScope.$ionicGoBack when soft back button is pressed
var oldSoftBack = $rootScope.$ionicGoBack;
$rootScope.$ionicGoBack = function() {
doCustomBack();
};

but it also seems to be problematic. maybe you have a solution in which child view knows his parent tab?

thanks