nmetulev / comet

Universal Windows Platform (UWP) toolkit library. Contains controls for creating great user experiences for Universal Windows Applications
MIT License
59 stars 12 forks source link

Calculating height correctly for PullToRefreshListView? #16

Closed corcus closed 8 years ago

corcus commented 8 years ago

Hi,

I am using the PullToRefreshListView with an ItemsSource that implements ISupportIncrementalLoading. The problem is that when I set the control's height to auto the callback function to load more items of the ISupportIncrementalLoading is called continuously.

If I set the control's height to a specified height then all works well.

Is there a possibility that there is an error when the control calculates its own height.

UPDATE: I have also noticed the same problem with a regular ListView. So it propably has nothing to do with your implementation.