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

iOS ScrollView jumps to top on layout change

$
0
0

On a XAML page I've got a ScrollViewer with many elements, so I can scroll vertically. I also have one or more elements right before the ScrollViewer, which turn visible or invisible based on certain criteria. Whenever the visibility changes the ScrollViewer jumps back to the top, but only on iOS. On UWP it remains its scroll position. Is this intended? Is there a common workaround to have the ScrollViewer remain its scroll position? Since there are more elements before the ScrollViewer I wouldn't like to register to all of them, but that's my last resort right now.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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