Bug 43947 - When a Grid row resizes, it resets ScrollView position on iOS
Summary: When a Grid row resizes, it resets ScrollView position on iOS
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.3.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-01 17:12 UTC by adrianknight89
Modified: 2017-12-22 14:09 UTC (History)
13 users (show)

Tags: ac, grid, scrollview, layout, ios
Is this bug a regression?: ---
Last known good build:


Attachments
repro (159.01 KB, application/zip)
2016-09-01 17:12 UTC, adrianknight89
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 43947 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description adrianknight89 2016-09-01 17:12:50 UTC
Created attachment 17295 [details]
repro

I have a Grid with several rows. One of the rows has a ScrollView. When a row is hidden or shown or when the height of a row changes, the scrollview position is set to 0.

Please see repro.

Steps to reproduce:

1) Scroll the yellow scrollview to a random position
2) Hit "Hide" or "Show" button
3) Observe that scrollview position is set to 0

This only demonstrates changing visibility, but you could see the same issue if the height of a row changes too.
Comment 1 adrianknight89 2016-09-16 15:17:45 UTC
A workaround for this bug is to wrap the scrollview in a grid.
Comment 2 adrianknight89 2016-09-21 19:50:16 UTC
Similar to: https://bugzilla.xamarin.com/show_bug.cgi?id=33385
Comment 3 gareth 2017-05-18 06:25:01 UTC
Is there an update on a fix for this issue?
Comment 4 jmelliadis 2017-07-21 18:52:42 UTC
Any updates on this? Our users are hitting this and it is causing confusion as they easily lose their place on the page after being scrolled back to the top.
Comment 5 Paul Brenner 2017-08-02 02:26:23 UTC
This is a really annoying bug, any update on when this will get fixed?