jamesmontemagno / Xamarin.Forms-PullToRefreshLayout

Pull To Refresh a ScrollView or ListView in Xamarin.Forms
218 stars 49 forks source link

Cannot scroll back up when scrollview has scrolled down on Android #53

Closed MohammedSadiq123 closed 5 years ago

MohammedSadiq123 commented 6 years ago

When you swipe up to make the scrollview go down, once the scrollview is at the bottom of the page, if you swipe down to go up it will always trigger the PullToRefresh feature. You won't be able scroll up anymore and the scrollview will get stuck.

sample:

`

<pull:PullToRefreshLayout

    IsPullToRefreshEnabled="True"

    RefreshCommand="{Binding RefreshCommand}"

    IsRefreshing="{Binding IsRefreshing}"

    RefreshColor="Black">

    <Grid

        HeightRequest="{DynamicResource ScreenHeight}">

        <controls:CustomNavigavtionBarControl

            OpenSearchBoxCommand="{Binding OpenSearchBoxCommand, Mode=TwoWay }"

            OpenNotificationCommand="{Binding OpenNotficationPageCommand }"

            BackCommand="{Binding BackCommand}" />

        <ScrollView

            Margin="{DynamicResource RootContentThickness}">

            <StackLayout

                Spacing="0"

                Padding="{StaticResource RightLeftThicknessX}"

                Orientation="Vertical">

                <StackLayout`
jamesmontemagno commented 5 years ago

Grid is not officially supported as the root object, only ScrollView/ListView

Nanouz commented 4 years ago

How can you fix this problem?

nelsonnil commented 4 years ago

I would be very grateful if someone could help us solve this problem