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

Make sure ion-list item is seen on screen

$
0
0

I have a problem with ion-list.

How can I make sure that an ion-item within a ion-list is actually being displayed on the screen without having to use the scroll bar to see the item.

I have tried using scrollIntoView() -but this only works if the list is full page - when the list is only part of the display the scrollIntoView() works, but then inserts a top margin in the screen where the ion-header is.


Viewing all articles
Browse latest Browse all 230106

Trending Articles



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