Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to stop ScrollViews resetting content to the first item after pushing and popping another page?

$
0
0

On ContentPages containing ScrollViews, if a new page is pushed onto the navigation stack, and later popped to reveal the original page again, on iOS the ScrollViews on that original page have their contents scrolled to the top again instead of showing the items that were visible when the new page was pushed. On Android and UWP, the position of the content is maintained.

Does anybody have a solution that prevents iOS resetting ScrollViews back to the top in this scenario? If it also stops the same thing happening when the orientation of the device changes that would be a bonus.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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