Bug 29009 - Pull to refresh doesnt work if Listview doesn't have enough items to be scrollable
Summary: Pull to refresh doesnt work if Listview doesn't have enough items to be scrol...
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 1.4.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-04-11 18:48 UTC by Marko Rumpli
Modified: 2017-02-22 20:59 UTC (History)
8 users (show)

Tags: ac
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:
Status:
RESOLVED NOT_ON_ROADMAP

Description Marko Rumpli 2015-04-11 18:48:49 UTC
I have a ListView that takes half of the screen height.

If I have lets say 10 items in the ListView than the ListView is scrollable (not all items can fit in the screen so I have to scroll to see the rest) and in this case the Pull to refresh works as desired.

======================
BUT

If I have only 2 items in the ListView so it's not scrollable (both items fits on the screen) then Pull to refresh is not triggered when trying to scroll.

This issue is only in WinPhone. In Android works fine...
Comment 1 Topher 2015-04-22 17:54:35 UTC
I am having the exact same problem.  

Root page is a tabbed page.  Tab is a NavigationPage with a ContentPage containing a StackLayout with a ListView.  

IsPullToRefreshEnabled is true on the ListView.

If the List doesn't have enough items to go past the bottom of the screen, touch controls don't activate the pull to refresh.  No problem if there are enough items to fill the screen.

Only a problem on Windows.  Works fine on iOS and Android.
Comment 2 Paul DiPietro [MSFT] 2017-02-22 20:59:27 UTC
WP8 is deprecated and as such this is being closed.