Bug 23904 - When focusing an input on an iPhone app running on an iPad at 1x the input scrolls off the screen
Summary: When focusing an input on an iPhone app running on an iPad at 1x the input sc...
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.3
Hardware: PC Mac OS
: Normal minor
Target Milestone: ---
Assignee: Seth Rosetter
URL: https://github.com/xamarin/Duplo/issu...
Depends on:
Blocks:
 
Reported: 2014-10-17 12:39 UTC by jslacroix
Modified: 2015-05-29 15:59 UTC (History)
4 users (show)

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


Attachments
Repro (3.04 MB, application/zip)
2014-10-17 12:39 UTC, jslacroix
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:
RESOLVED FIXED

Description jslacroix 2014-10-17 12:39:12 UTC
Created attachment 8442 [details]
Repro

Inputs inside modals scroll off the top of the screen when focused in a minor edge case. This ONLY happens when running at 1x on device or simulator and seems to only happen when the input is inside a modal. I tested with 1.2.3 and 1.3.

I have included a basic app to reproduce the error.

Click the 1x button to shrink the app
Open the modal by clicking the button
Focus an input that would appear below the keyboard
The input scrolls off the top of the screen instead of stopping above the keyboard
Comment 1 jslacroix 2014-10-17 12:40:20 UTC
Please note that this is a minor edge case scenario.
Comment 2 Ram Chandra 2014-10-17 14:02:44 UTC
I have checked this issue and with the help of steps mentioned in bug description I am able to reproduce this issue.

When I tab on the input control I observed that the input scrolls off the top of the screen instead of stopping above the keyboard and also the input control is not visible to the screen when the keyboard is enable.

Screencast: http://www.screencast.com/t/ECqHRuQdu

Environment Info:

Xamarin.Form: 1.2.3.6257

=== Xamarin Studio ===

Version 5.5.2 (build 3)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
Runtime:
	Mono 3.10.0 ((detached/633e444)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000020

=== Apple Developer Tools ===

Xcode 6.0.1 (6528)
Build 6A317

=== Xamarin.Mac ===

Version: 1.9.0.530 (Business Edition)

=== Xamarin.Android ===

Version: 4.18.0 (Business Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
	Supported Android versions:
		1.6   (API level 4)
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.0   (API level 11)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.iOS ===

Version: 8.2.0.207 (Business Edition)
Hash: 3bf072d
Branch: 
Build date: 2014-10-15 21:44:26-0400

=== Build Information ===

Release ID: 505020003
Git revision: 6d4c806e383ba366b15fbccca9ddc1ba94f8d5ad
Build date: 2014-10-15 15:00:36-04
Xamarin addins: 069ddd29bb70a42238142eee9bac21a5e4b2f9f9

=== Operating System ===

Mac OS X 10.9.5
Darwin Jatin66s-iMac.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
Comment 3 jslacroix 2014-10-20 17:07:33 UTC
This appears to be more serious than I originally thought. On a hardware device an input inside of a scrollview that appears in  a modal will not scroll into view correctly in landscape.

To reproduce you must use a hardware device:

Run the repro app.
Click the log in button
rotate the device
click the text entry
The entry will scroll completely out of the screen.
Comment 4 Seth Rosetter 2015-05-29 15:59:01 UTC
Hi,

I have confirmed that this is an issue with the sample referencing Xamarin.Forms 1.2.3. This is fixed in our current stable 1.4.2. 

Thanks for filing issue and providing the reproduction.

- Seth