Bug 39121 - Label with LineBreakMode.NoWrap breaks swipe on CarouselPage
Summary: Label with LineBreakMode.NoWrap breaks swipe on CarouselPage
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.0.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-02-25 13:49 UTC by Saskia
Modified: 2017-03-27 16:57 UTC (History)
4 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 Saskia 2016-02-25 13:49:51 UTC
When adding a label with LineBreakMode.NoWrap to a ContentPage added to a CarouselPage, the page doesn't changed when swiping over this label.

Example code:
	public class PageTest03 : ContentPage
		public PageTest03()
			Title = "Test 03";
			Label lblNoWrap = new Label
				Text = "Test label with text not wrapped",
				LineBreakMode = LineBreakMode.NoWrap,
				FontSize = 50
			Label lblWordWrap = new Label
				Text = "Test label with text word wrapped",
				LineBreakMode = LineBreakMode.WordWrap,
				FontSize = 50
			Content = new StackLayout
				Children =

When swiping over the label with LineBreakMode.WordWrap, the carousel switches to another page.

Kind regards,
Comment 1 Paul DiPietro [MSFT] 2017-03-27 16:57:17 UTC
This does not appear to be reproducible any longer and I can only assume it was fixed at some point. If you find that this still occurs on the latest stable/prerelease version of Forms, please reopen this and attach a reproduction project. It should also be noted that CarouselView might be a more preferable option to use when it hits stable.