Hi,
after updating to beta 12 i get the following exception “TypeError: Cannot read property ‘run’ of null” the
source seams to be line 39362 in ionic.bundle.js beacuse the scrollView is null:
$timeout(function() {
scrollView.run();
});
In my application i have different tabs and detail pages but the detail pages have no tab navigation.
To achieve this i have a named root ion-nav-view as “content” and states like this:
.state('tab', {
url: "/tab",
abstract: true,
views: {
'content': {
templateUrl: "templates/tabs.html"
}
}
})
.state('tab.dash', {
url: '/dash',
views: {
'tab-dash': {
templateUrl: 'templates/tab-dash.html',
controller: 'DashCtrl'
}
}
})
.state('content', {
url: '/content',
views: {
'content': {
templateUrl: 'templates/content.html'
}
}
})
The error is simply reproducible with the ionic starter app, and i created the following simple codepen.
When you click on the content link the content view is not shown because of the error.
Interesting is that the error only occurs when there is more than one tab.
Any help would be greatly appreciated