Forum Xamarin.Forms

ScrollView position gets reset after hide (iOS)

ChristianSvrdChristianSvrd SEMember ✭✭✭

Whenever I hide a scrollview in iOS its position return back to 0 after I hide and show it again, does anyone know any workaround for this? I don't want to save and restore the scroll position each time programmatically because then the user would see the scrollview initial positions first and then its real position and its very nasty.
it doesn't matter whether it is vertical or horizontal, or whether you hide its parent or the scrollview itself.

Tagged:

Answers

  • ChristianSvrdChristianSvrd SEMember ✭✭✭

    bump

  • ChristianSvrdChristianSvrd SEMember ✭✭✭

    Is there anyway that I can see how the xamarin form's ScrollView is rendered using a UIWebview (source code)?

  • AlexRutherfordAlexRutherford GBUniversity ✭✭

    Did you find a fix for this? Im having the same problem.

  • ChristianSvrdChristianSvrd SEMember ✭✭✭

    no but in the more recent versions of xamarin the problem became less noticable because the scrollview now moves to the new position (originally saved position) faster.

  • AlexRutherfordAlexRutherford GBUniversity ✭✭

    I am having a problem when I pushAsync and then go back to a page with a scrollview it resets its position and if I remember it and set it up onAppear you see it move and it's not good at all.

  • ChristianSvrdChristianSvrd SEMember ✭✭✭

    yeah it sux

Sign In or Register to comment.