Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PullToRefreshContent & ReleaseToRefreshContent different behaviour on mobile an desktop #1034

Closed
rpedretti opened this issue Mar 15, 2017 · 6 comments
Assignees
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior controls 🎛️ in progress 🚧

Comments

@rpedretti
Copy link

Given this template

<Style TargetType="uwpControls:PullToRefreshListView">
    <Setter Property="PullToRefreshContent">
        <Setter.Value>
            <TextBlock Text="&#xE112;"
                       FontSize="28"
                       Height="30"
                       VerticalAlignment="Bottom"
                       FontFamily="Segoe MDL2 Assets"
                       Margin="0,0,0,10"
                       RenderTransformOrigin="0.5,0.5">
                <TextBlock.RenderTransform>
                    <RotateTransform Angle="-90"/>
                </TextBlock.RenderTransform>
            </TextBlock>
        </Setter.Value>
        </Setter>
    <Setter Property="ReleaseToRefreshContent">
        <Setter.Value>
            <TextBlock Text="&#xE112;"
                       FontSize="28"
                       Height="30"
                       VerticalAlignment="Bottom"
                       FontFamily="Segoe MDL2 Assets"
                       Margin="0,0,0,10"
                       RenderTransformOrigin="0.5,0.5">
                <TextBlock.RenderTransform>
                    <RotateTransform Angle="-90"/>
                </TextBlock.RenderTransform>
            </TextBlock>
        </Setter.Value>
    </Setter>
    <Setter Property="PullThreshold" Value="80"/>
    <Setter Property="OverscrollLimit" Value="0.2"/>
</Style>

When i run on desktop I get the expected behavior of the TextBlock

animation

But when on Mobile it doesn't align to bottom. I removed the margin but it didn't help.

animation3

I tried de default value for those fields and the result is the same.

animation2

Both Mobile and desktop are running the same Windows build (10.0.14393.953)

@deltakosh deltakosh added the bug 🐛 An unexpected issue that highlights incorrect behavior label Mar 15, 2017
@windowstoolkitbot
Copy link

No response from the community. ping @nmetulev

@rpedretti
Copy link
Author

I guess it can be closed since MS is not supporting mobile anymore

@nmetulev
Copy link
Contributor

nmetulev commented Oct 9, 2017

This is a behavior difference issue of mouse vs touch, I can verify the same behavior in the sample app on desktop. However, per #1465, this control is getting deprecated in the next release due to a it being available in the Fall Creators Update and this will not be prioritized.

@nmetulev nmetulev closed this as completed Oct 9, 2017
@nmetulev
Copy link
Contributor

PullToRefreshListView will not be deprecated until it is available in the platform, re-opening issue.

@nmetulev nmetulev reopened this Oct 12, 2017
@windowstoolkitbot
Copy link

This issue seems inactive. It will automatically be closed in 14 days if there is no activity.

@nmetulev
Copy link
Contributor

#1564 should resolve this

@ghost ghost locked as resolved and limited conversation to collaborators Nov 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior controls 🎛️ in progress 🚧
Projects
None yet
Development

No branches or pull requests

4 participants