scrollIntoView on item in list leads to a chroot-jail like experience


#1

I have an ion-nav-view containing ion-content and then a list of items. Based on some user action, I want to bring a list item into the view. But when I use scrollIntoView() on the DOM element, I can never scroll up to list items before that. (Sort of, like a chroot-jail)

I noticed that this method is marked experimental at MDN but also caniuse shows support. So what I am missing in this? Is there an alternative way?

Thanks


#2

This still appears to be an issue in Ionic 2.2.1 for iOS. Works great on Android though.