-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Description
I've found a solution for the problem of the height of the tabs, otherwise all the tabs have the same height even if one has less element.
Into the controller i've create a function which is called when the tab change and is passed the $index of the element and in this method i've put this lines of code:
`
$scope.update = function(index){
angular.element(".slider")[0].style.height = "auto";
var height = angular.element(angular.element("ion-slide")[index]).height();
angular.element(".slider")[0].style.height = height + "px";
}
`
Try this and let me know if it works.
Hope it could help someone else :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels