Bug with dynamic lists


#1

When the size of the list changes, it takes some time to adjust the scrollbar.

Here’s a codepen: http://codepen.io/anon/pen/fsKzI/
When you change between personal and practice, and scroll down immediately, the list is still the size of the previous array. Any thoughts ?


#2

When Ionic sets up the scroll view, it bases it on the height of the original content. When you change the view, you need to ask the scroll view to update based on the new content.

You do this with $ionicScrollDelegate.resize().

See this updated sample : http://codepen.io/calendee/pen/BetLl


#3

Wow great. Struggled with this for a long time. Thank you so much!