Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
I have a ScrollView thus:
<ScrollView VerticalOptions="FillAndExpand" x:Name="ScrollTestEntry" BackgroundColor="Red" Orientation="Vertical" >
<Grid x:Name="TestEntryArea" VerticalOptions="Start" RowSpacing="10" Padding="30,10,30,0">
The "TestEntryArea" Grid internally is filled at runtime programmatically.
The ScrollView ends up being 232 pixels in height and the Grid ends up being 275+ pixels in height. The content is visibly clipped but it refuses to scroll.
To add to @stacyh, the sample provided by Xamarin (See github link below) does not work.
As a note, upgrading our application to Xamarin 2.0.0 has made it unusable on the Windows Phone.
I can confirm this bug. I think it is related to the following line inside the setter for VisualElementTracker.Container:
I don't know what they're trying to achieve with the value 32 (32=Scale), but it seems to break scroll views. I noticed this bug using Windows UWP preview, but I think it is the same for windows phone.
this seems to be resolved with Xamarin.Forms 22.214.171.12487
This is not working in Android even in Xamarin.Forms 126.96.36.19990.
My app uses CustomTheme and I have set
<item name="android:nestedScrollingEnabled">true</item> to enable nested scrolling. I have a ListView inside a ScrollView. The ListView is populated at run time based on user action. The app crashes with "java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.view.NestedScrollingChildHelper.setNestedScrollingEnabled(boolean)' on a null object reference" on the line base.OnElementChanged(e) of the CustomListViewRenderer. The code works perfectly on Xamarin.Forms versions 188.8.131.5223 and 184.108.40.20647
I am using Xamarin.Forms 220.127.116.1190, but ScrollView is still not scrolling on WinPhone 8.1 . It is fine on Windows, Android and iOS, but not WinPhone 8.1
@John Hardman, we don't have any issue with ScrollView scrolling. If anything the ScrollView is scrolling fine but not a ListView inside the ScrollView. This was working on prior versions.
As per Thomas Williams' comment above - ScrollView not working makes my app completely unusable on WinPhone 8.1 . This is a critical issue. Is there any update on when it is expected to be fixed? It is not working in 18.104.22.16890
Ah, just found the trigger for the problem on WinPhone 8.1. For me, this is no longer critical (it may still be for Thomas Williams though).
To work around a Xamarin bug on Windows desktop ( https://bugzilla.xamarin.com/show_bug.cgi?id=32213 ), I had added some code on Windows to move the navigation page up a bit, and to then pad content pages. That is currently still required on Windows desktop. However, that same piece of code was also being executed on Windows 8.1 phones. What I have found is that the moment I do the following on a Windows 8.1 phone, ScrollViews stop scrolling vertically:
navigationPage.TranslationY = -40;
I have now added a check for the Idiom, so that this only gets executed on Windows desktops (I need to check what happens for Idiom.Tablet). Getting rid of that one line on Windows phones solves the scrolling issue for me.
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
Xamarin Forms Team