Views swipeBack hides back button and title


#1

Hey,

i don’t know if this is normal or I do something wrong.
If I swipe back only to half of the animation and let it go so it actually doesn’t swipe back,
I’ll get the nav-bar from the main view.

Lets say I start at Home > View 1 > View 2 … on View 2 i see it’s title and back button all good.
If I normally swipeBack im going from View 2 > View 1 and I see the title and back button from View 1 all good.

But if I just swipeBack slowly and cancel it (by stopping at half at the animation) it takes over the title and back button ( in this case there is no back button ) from the Home

anything wrong with my routing?

// setup an abstract state for the tabs directive
.state(‘tab’, {
url: “/tab”,
abstract: true,
templateUrl: “templates/tabs.html”
})

// Each tab has its own nav history stack:

.state('tab.home', {
	url: '/home',
	views: {
		'home': {
			templateUrl: 'templates/home.html',
			controller: 'HomeCtrl'
		}
	}
})

.state('tab.diagz', {
	url: '/diagz',
	views: {
		'home': {
			templateUrl: 'templates/diagz.html',
			controller: 'DiagzCtrl'
		}
	}
})

.state('tab.diag_winkel_a', {
	url: '/diag_winkel_a',
	views: {
		'home': {
			templateUrl: 'templates/diag_winkel_a.html',
			controller: 'DiagWinkelACtrl'
		}
	}
})