Bug 21909 - ScrollView displayed via Navigation.PushModalAsync does not behave correctly
Summary: ScrollView displayed via Navigation.PushModalAsync does not behave correctly
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-08-07 10:17 UTC by Chris Castrianni
Modified: 2015-03-09 10:41 UTC (History)
8 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Repro application (6.45 KB, application/x-zip-compressed)
2014-08-07 10:17 UTC, Chris Castrianni
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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Chris Castrianni 2014-08-07 10:17:15 UTC
Created attachment 7620 [details]
Repro application

When a Page containing a ScrollView is displayed on an iPad using Navigation.PushModalAsync(Page), the appearance of the Keyboard (resulting from giving a control on the Page focus) causes the content of the ScrollView to immediately scroll off of the visible screen...but only when the iPad's Home Button is oriented on the left.  Hiding the Keyboard returns the content to its original position.  When the iPad is oriented with the Home Button on the right, the ScrollView behaves correctly (i.e. the content remains visible).
Comment 1 Parmendra Kumar 2014-08-08 12:56:46 UTC
I have tried to reproduce this issue and reproduce it with given Attachment sample project Repro application.


Screencast:http://screencast.com/t/iqU9Cxgv

Environment info:
Microsoft Visual Studio Professional 2013
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
Version 4.5.51641


Xamarin   3.3.47.0 (0b2a123923812a88ed3091909478dbe9e0111f00)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android
Comment 2 Renato 2014-11-18 15:12:33 UTC
+1 on this bug.

It also happens on iPhone 4/4s/5/5s when the device is on landscape position.

A workaround would be disabling the auto-scrolling behaviour and deal with the scrolling manually. Is there any way to disable it? Right now I'm re-scrolling after 500ms but this is very very bad, I can't ship an app like this.
Comment 3 S_CC 2015-01-03 01:15:24 UTC
It also happens on iPad 2 and iphone iOS version 7.1. any update on this?
Comment 4 Rui Marinho 2015-03-05 10:46:15 UTC
This is fixed in XF 1.3.5
Comment 5 Parmendra Kumar 2015-03-09 10:41:30 UTC
I have checked this issue with Xamarin.Forms.1.4.0.6340-pre2 and observed that this issue has been fixed. Hence I am closing this issue.

Screencast : http://www.screencast.com/t/4SXjgBracTn

Environment Info : 

Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.50938

Xamarin   3.11.6.0 (b96b9e3)

Xamarin.iOS Build Host : 8.10.0.9