Bug 28577 - [Windows Phone] Not able to scroll in ScrollView if no controls are Enabled
Summary: [Windows Phone] Not able to scroll in ScrollView if no controls are Enabled
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-31 04:55 UTC by Per Reitzel
Modified: 2016-04-08 19:27 UTC (History)
8 users (show)

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


Attachments
See my last comment (707.76 KB, application/pdf)
2015-07-23 08:28 UTC, Fredy Wenger
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 Per Reitzel 2015-03-31 04:55:03 UTC
If I have a Page (ContentPage) with the following simple Content:

ScrollView scrollView = new ScrollView
{
  Content = [.. a new StackLayout containing enough Entry controls to get a scrollable content where all controls are not Enabled]
}

StackLayout stack = new StackLayout
{
  Children =
  {
    scrollView
  }
}

On Windows Phone you will not be able to scroll the content if all the Entry controls are not Enabled. Eventhough the controls are Enabled you will still need to fix the focus on some of the controls for been able to scroll. You can not scroll by tab in the empty area on the screen.

On both Android and iOS it is working very fine
Comment 1 Ram Chandra 2015-04-28 11:00:36 UTC
I have checked this issue and I am able to reproduce the reported behavior.

When I try to scroll the view when the "IsEnabled" property of all the entry controls are set to "false", I observed that I am not able to scroll the view on Windows Phone/emulator. However when I set the "IsEnable" property to "true" I am able to scroll the view by tabbing on the empty area.

I am not getting this behavior with android and iOS. 

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

Please let me know if I can provide more info to this issue.

Environment Info:

Xamarin.Forms: 1.4.3.6358-pre2

Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional

LightSwitch for Visual Studio 2013   06177-004-0447006-02641
Microsoft LightSwitch for Visual Studio 2013

Team Explorer for Visual Studio 2013   06177-004-0447006-02641
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06177-004-0447006-02641
Microsoft Visual Basic 2013

Visual C# 2013   06177-004-0447006-02641
Microsoft Visual C# 2013

Visual C++ 2013   06177-004-0447006-02641
Microsoft Visual C++ 2013

Visual F# 2013   06177-004-0447006-02641
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06177-004-0447006-02641
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Windows Phone SDK 8.0 - ENU   06177-004-0447006-02641
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   12.3.50717.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.20703.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.2
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft Advertising SDK for Windows Phone   
Microsoft Advertising SDK for Windows Phone
Build 

Microsoft Azure Mobile Services Tools   1.2
Microsoft Azure Mobile Services Tools

Multilingual App Toolkit   3.1.1250.0
Multilingual App Toolkit helps you localize your Windows Store app by providing file management, pseudo and machine translation, translation editor, and build integration. http://go.microsoft.com/fwlink?linkid=245767

NuGet Package Manager   2.8.50926.663
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2013 ENU   12.0.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU

PowerShell Tools   1.2
Provides file classification services using PowerShell

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   12.0.30919.1
Microsoft SQL Server Data Tools

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.11.452.0 (d79ce10)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.0.115 (d23da369e436488f38c8ab8fe8a9ae7d9ea5256b)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense   1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS   8.10.0.0 (7741cc495ab0baf04ff0405d0604bc27f0ecae2e)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration
Comment 2 Fredy Wenger 2015-05-26 11:02:45 UTC
I also have noted this GENERAL bug. 
Master-Detail-Page (I use a menu with Image and text):
- On a master-detail-page, the items only can be selected properly, by tapping 
  directly on an image or on a text (content).
- If the user taps on empty space somewhere on the master-page, the LAST 
  selected (WRONG!) entryis selected, what is very confusing for the user 
  and makes he think, it's a bug in the logic of the app 
  (I have taped on menu-item A and menu-item X is called...?)

ScrollView:
- A ScrollView only can be scrolled, if the user tap's on somewhat with content
 - if he taps to and empty space, he is not able to scroll the ScrollView

This is an IMPORTANT bug (that only exist on WP), as he makes the whole app unusable.
Comment 3 Fredy Wenger 2015-05-28 03:38:37 UTC
Once again - this should have a high importance (should be solved in the NEXT release) as it is a general problem in the WP-platform and prevent us to ship the app on the WP-platform.
Comment 4 Fredy Wenger 2015-07-23 08:27:22 UTC
I think, I have found the Issue.
The InputTransparent.property hast to ALL visual elements (ScrollView, StackLayout and so on) has to be set to true for WP whereby for iOS it has to be set to false and Android don0t matter.
Details see attached .pdf
I also have posted this on the 1.4.4-pre3 thread and suggested, that this should be changed in WP (true per default).
http://forums.xamarin.com/discussion/45656/xamarin-forms-1-4-4-pre3-released/p2

Further, the Xamarin description (default = true) is FALSE.
http://developer.xamarin.com/api/property/Xamarin.Forms.VisualElement.InputTransparent/
Comment 5 Fredy Wenger 2015-07-23 08:28:01 UTC
Created attachment 12184 [details]
See my last comment
Comment 6 Jason Smith [MSFT] 2016-04-08 19:27:36 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Forms. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.
 
For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d

Warm regards,
Xamarin Forms Team