Bug 21938 - ScrollView interferes with swipe to change Page inside a CarouselPage, swipe gesture does not always work (Android)
Summary: ScrollView interferes with swipe to change Page inside a CarouselPage, swipe ...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.2
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-08-07 22:28 UTC by a179164
Modified: 2015-05-20 16:56 UTC (History)
7 users (show)

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

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:

Description a179164 2014-08-07 22:28:57 UTC

    When ScrollView is used inside a child page of CarouselPage, The horizontal swipe gesture to change the page behaves oddly, sometimes it responds, sometimes it doesn't, this strange behavior only happens on Android, iOS seems to cope very good with this two used together. I tested this using the Genymotion VM, and a LG Nexus 4 real device.

Steps to Reproduce: 

    1) To be able to reproduce this fast, you can use the TabbedPageDemo in the Xamarin samples page.

    2) Change the TabbedPageDemoPage.xaml to this: http://pastie.org/9454592 .This will change the TabbedPage for a CarouselPage, add some extra labels (to have more content) and add the ScrollView.

    3) Compile the code for both iOS and Android, try to change the Page using the horizontal swipe gesture on Android and iOS.

Actual Results: 

    The Android application does not always respond to the horizontal swipe gesture, while the iOS application works like a charm.

Expected Results: 

    The Android application should be able to change the page immediately when an horizontal swipe gesture is detected, and when a vertical swipe gesture is detected, scroll down if the Page has more content below.

Build Date & Platform: Date and platform of the build in which you first encountered the bug.


    Xamarin Studio Version 5.2 (build 386)
    Xamarin.Forms (

Additional Builds and Platforms: Whether or not the bug takes place on other platforms (or browsers, if applicable).

Comment 1 Udham Singh 2014-08-21 10:36:38 UTC
I have checked this issue and observed the same behaviour mentioned in bug description. To reproduce this issue I have followed the steps mentioned in bug description.

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

Xamarin.Forms :

Environment Info :

=== Xamarin Studio ===

Version 5.2.1 (build 1)
Installation UUID: ce927b2a-2c07-44c5-b186-09cfdafba6dc
	Mono 3.6.0 ((no/f540f8a)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 306000039

=== Xamarin.Android ===

Version: 4.14.0 (Business Edition)
Android SDK: /Users/xamarin76/Desktop/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.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)

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.Mac ===

Version: (Business Edition)

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: 606f31a
Build date: 2014-08-01 15:27:48-0400

=== Build Information ===

Release ID: 502010001
Git revision: d06832ce9807d6be24aca225457e8b37c7669f6f
Build date: 2014-08-07 12:10:47-04
Xamarin addins: 1de032531be4cecf2f39dbee3b87aac78204058c

=== Operating System ===

Mac OS X 10.9.3
Darwin Xamarin76s-Mac-mini.local 13.2.0 Darwin Kernel Version 13.2.0
    Thu Apr 17 23:03:13 PDT 2014
    root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
Comment 2 Barton 2015-01-23 11:49:07 UTC
Workaround may be found here: http://forums.xamarin.com/discussion/comment/80307/#Comment_80307
Comment 3 Michael 2015-05-20 16:56:40 UTC
I have confirmed that the Carousel Page horizontal swipe gesture is working with Xamarin.Forms 1.4.2 when in a scrollview.