Forum Xamarin.Forms

Scroll to bottom no longer works XF iOS

RaymondKellyRaymondKelly USMember ✭✭✭

So once again, programmatically scrolling to the bottom of a list has become impossible. I updated to the latest stable of everything and its broken again. The way that you are supposed scroll to bottom using "ScrollToRow" has not worked for years, gave up on that a long time ago. The hacky workaround that has worked now only works some times:
CGPoint offset = new CGPoint(0, Control.ContentSize.Height - this.Frame.Size.Height); if (offset.Y < 0.0f) { return; } Control.SetContentOffset(offset, true);

Sometimes its scrolls and sometimes it doesn't. I am doing everything on the UI thread and still no luck. The offset seems correct however the list just does not scroll to the position (most of the time). Anyone else running into this?

Sign In or Register to comment.