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

History In Nested Tab View with Side Menus From Templates

$
0
0

@dcooper wrote:

I'm creating an app that combines tabs with nested view and side menus that change depending on which view is displayed.

The problem is that when I use templates for the side menus I do not have any history for the nested views and thus no back button display. If I change the ion-nav-view where the side menu is inserted to an ion-view, the back button works, but my side menu templates are not inserted.

I have put together a codepen that demonstrates this:Nested Tabbed with Side Menu Templates

If you change line 59 from

<ion-nav-view name="side-menu"></ion-nav-view>

To

<ion-view name="side-menu"></ion-view>

You can see the change in behavior. Is there a way to use templated side-menus and still have the history work for nested states?

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>