Auto scroll to bottom for a list doesnt work


#1

I tried

< ion-scroll direction=“y” scrollbar-y=“true” style=“height: 600px”>
< /ion-scroll>

but, here style doesnt allow me as height: 100% (This doesnt work).

Also, i tried

.controller(‘MyCtrl’,function( $scope, $ionicScrollDelegate, $timeout) {
$timeout(function() {
$ionicScrollDelegate.scrollBottom();
});
})

Even this didnt work. Can some one suggest me ?


#2

What are you trying to do? make it scroll with inside a list? height is always going to be 600px the 100% wouldn’t do anything.


#3

Yes, I tried to create scroll inside scroll. thats the reason why it didnt work. Thankyou !