Hi guys,
So I’m not familiar with the transition framework so I couldn’t pin down the exact piece of code that’s failing, but if you use a ui-view like so:
.state('app', {
url: '/app',
abstract: true,
template: '<ui-view/>'
})
it never becomes active. And for some weird reasons on the browser it’s not a problem because the view gets an extra opacity style:
<!-- uiView: undefined --><ui-view class="pane" nav-view="stage" style="opacity: 1; -webkit-transform: translate3d(0%, 0px, 0px);">
If I run the exact same code on my nexus 6 I get this through inspect:
<!-- uiView: undefined --><ui-view class="pane" nav-view="stage" style="-webkit-transform: translate3d(0%, 0px, 0px);">
Which is more what’s expected for a non-active view. But there’s something shady with this… First because it’s my root view under only a ion-nav-view, all the other views are in there, and it gets staged and never active (whereas child views do get active appropriately). Second because on android this view never gets the opacity factor.
I fixed it by forcing the opacity like this:
ui-view[nav-view="stage"] {
opacity: 1 !important;
}
Not pretty but until you guys figure this one out, it’ll have to do!