I am new to the ionic structure and trying to get the tabs component to use on the side menu page, which works fine, but the navigation animations from page to page declaring slide left-right animations do not work.
eg. there is a basic state (application) that contains the side menu code
.state('app', { url: '/app', abstract: true, templateUrl: "templates/menu.html", controller: "appController" })
and loaded into
<body> <ion-nav-view animation="slide-left-right"></ion-nav-view> ...
auxiliary menu pages are loaded with the parent (app.pageOne, app.pageTwo, etc.)
Login and registration pages are loaded to the root, so there is no need to include a side menu (login, registration, etc.)
I created a tab template for use on the side menu page with a different base state for the tabs
.state('app.tabs', { url: '/tab', abstract: true, views: { 'menuContent' :{ templateUrl: "templates/tabs.html" } } })
and loaded as a side menu
<ion-nav-view name="menuContent" animation="slide-left-right"></ion-nav-view>
Now, if I have the app.pageOne page and go to app.pageTwo, the slide animation works as expected.
But if Iβm on the app.tabs.home tab and click on the link to go to app.pageTwo, the navigation bar does not update and no animation transition occurs.
I know this looks like a parent child problem, but I just can't solve it, any ideas?
look like this:
login register app ____page1 |____page2 |____Tabs |____Home |____Contact etc
page1 animation on page2 works fine Homepage2 is not animation (it just loads right away)
Hope this makes sense.