@pffed wrote:
The height of a view is calculated once it is opened and whenever user tries to expand collapsible menu, resize function is not called. I tried to call it manually every time user opens or closes the collapsible menu. It does not work. I need to know what functions are called by Ionic automatically when a view is opened in terms of height calculation so that I can make a call to the same function.
$scope.toggleGroup = function(group) { group.show = !group.show; $ionicScrollDelegate.$getByHandle('AppCtrl').resize(); $ionicScrollDelegate.$getByHandle('HomeCtrl').resize(); $ionicScrollDelegate.resize(); };
Posts: 1
Participants: 1