Bug 33272 - ListView won't scroll when using custom renderer and not overriding GetDesiredSize.
Summary: ListView won't scroll when using custom renderer and not overriding GetDesire...
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 1.5.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-08-20 15:19 UTC by Jon Goldberger [MSFT]
Modified: 2016-04-13 19:41 UTC (History)
2 users (show)

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


Attachments
Test Project (271.38 KB, application/zip)
2015-08-20 15:19 UTC, Jon Goldberger [MSFT]
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 NOT_ON_ROADMAP

Description Jon Goldberger [MSFT] 2015-08-20 15:19:37 UTC
Created attachment 12590 [details]
Test Project

## Description

When using a custom renderer in iOS project for a ListView, as in the Forms WorkingWithListViewNative sample, the ListView does not scroll unless you override GetDesiredSize. It is overridden in the sample, but it seems it should not be needed.

Test project is simply this project, https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithListviewNative, with the GetDesiredSize override commented out. 

## Steps to reproduce

1. Open the attached sample, restore packages and set the iOS project as the start up project.

2. Launch iOS project to device/simulator

3. Select tab 2 "B Native Native"

4. Scroll ListView

Expected result: ListView will scroll.

Actual result. ListView does not scroll

## Note

Tested using Forms 1.4.4
Comment 1 Paul DiPietro [MSFT] 2015-09-04 09:46:26 UTC
Verified using 1.5.0.6404-pre3.
Comment 2 Jason Smith [MSFT] 2016-04-13 19:41:46 UTC
Thank you for your report. At this time there are no plans to implement any changes around this issue.

Warm regards,
Xamarin Forms Team