You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We get the following warning: Delegate for handle "subtabs" could not find a corresponding element with delegate-handle="subtabs"! select() was not called!
Possible cause: If you are calling select() immediately, and your element with delegate-handle="subtabs" is a child of your controller, then your element may not be compiled yet. Put a $timeout around your call to select() and try again.
Other information:
After calling the select() function, there is a call to instanceMethodCaller() function. When iterating on tab instances for tab instance that matches "subtabs" handle, the function "hasActiveScope" returns false value.
this._instances.forEach(function(instance) {
if ((!handle || handle == instance.$$delegateHandle) && instance.$$filterFn(instance)) {
foundInstancesCount++;
var ret = instance[methodName].apply(instance, args);
//Only return the value from the first call
if (foundInstancesCount === 1) {
returnValue = ret;
}
}
})
Ionic Version: 1.2.4
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Short description of the problem:
After returning to the screen with tabs using $ionicHistory.goBack(), the $ionicTabsDelegate.select() is not working
Steps to reproduce:
http://codepen.io/anon/pen/aNBPKZ?editors=1010
We get the following warning:
Delegate for handle "subtabs" could not find a corresponding element with delegate-handle="subtabs"! select() was not called!
Possible cause: If you are calling select() immediately, and your element with delegate-handle="subtabs" is a child of your controller, then your element may not be compiled yet. Put a $timeout around your call to select() and try again.
Other information:
After calling the select() function, there is a call to instanceMethodCaller() function. When iterating on tab instances for tab instance that matches "subtabs" handle, the function "hasActiveScope" returns false value.
Ionic Version: 1.2.4
The text was updated successfully, but these errors were encountered: