Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

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

$
0
0

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


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>