Xamarin Forms - ScrollView - ScrollToAsync to bottom not working as expected - Probable Bug

I have a screen where it shows comment list using stack layout and scrollview. User can add one more comment and click submit would add one more comments at the end of this scroll view for Xamarin Forms - Android and iOS app. Requirement is to scroll this list up to show latest display comment element. For this, I have used below line of code but it does not scroll up till the last element but second last element. I observed it in IOS and Android both.

scrollView.ScrollToAsync(stkMain, ScrollToPosition.End, true);

Below image would give more idea about it.

Expected behavior is scroll view should scroll till complete last element display on screen. Kindly suggest If I am not doing it right.

Sign In or Register to comment.