tmyt / AmazingPullToRefresh

Enables PullToRefresh to ListView, GridView, and more.
15 stars 4 forks source link

Unhandled win32 exception occured #1

Open corcus opened 8 years ago

corcus commented 8 years ago

Hi,

I've been trying to use your library and for the most part it works great. I have run into a problem though. When I try to scroll down using the mouse wheel in a GridView. I get the exception mentioned in the title. To clarify I'm not trying to cause a refresh. I'm just scrolling through the contents of the GridView. If I don't use the mouse wheel then there is no problem.

This doesn't happen if I don't use the library and I can scroll down without any problems. The problem also disappears if I set IsRefreshEnabled to false in the PullToRefreshExtender.

Thanks for any feedback you can provide on this.

tmyt commented 8 years ago

Hi corcus,

It seems the bug. I filed the bug and working to solve it.

Thanks to report the bug.

tmyt commented 8 years ago

Hi corcus,

I tried to reproduce this problem, but I could not that. There is the code of try to reproducing.

MainPage.xaml

 <GridView x:Name="view">
    <controls:PullToRefreshAdorner.Extender>
        <controls:PullToRefreshExtender IsRefreshEnabled="true"/>
    </controls:PullToRefreshAdorner.Extender>
</GridView>

MainPage.xaml.cs

public MainPage()
{
    this.InitializeComponent();
    view.ItemsSource = Enumerable.Range(0, 3000);
}

Could you provide more information for reproduce this?

corcus commented 8 years ago

Hi again, I'll create a stripped down project which displays the problematic behavior and post it here. Thanks again for your help.

corcus commented 8 years ago

Here is a link for a project that displays this behavior for me. https://www.dropbox.com/s/hcsi9hv9pfe4482/StripDown.zip?dl=0