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

MoveAnimation does not work on iOS #751

Open
3 tasks done
bbenetskyy opened this issue Nov 30, 2022 · 0 comments
Open
3 tasks done

MoveAnimation does not work on iOS #751

bbenetskyy opened this issue Nov 30, 2022 · 0 comments

Comments

@bbenetskyy
Copy link

🐛 Bug Report

The same MoveAnimation on iOS does not work at all and display's like there is no animation has been added, while on Android all works as expected

<?xml version="1.0" encoding="utf-8" ?>
<rg:PopupPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:rg="http://rotorgames.com"
             x:Class="App1.MyPopupPage">
   <rg:PopupPage.Animation>
        <rg:MoveAnimation
            DurationIn="{OnPlatform iOS='700', Android='400'}"
            DurationOut="{OnPlatform iOS='500', Android='300'}"
            EasingIn="SinOut"
            EasingOut="SinIn"
            HasBackgroundAnimation="True"
            PositionIn="Bottom"
            PositionOut="Bottom"/>
    </rg:PopupPage.Animation>
    <StackLayout Margin="12"
                 Padding="24"
                 BackgroundColor="White"
                 HorizontalOptions="Center"
                 VerticalOptions="Center">
        <Button BackgroundColor="DodgerBlue"
                FontSize="30"
                Text="Login"
                TextColor="White" />
    </StackLayout>
</rgPages:PopupPage>

Expected behavior

Works same as on Android - mean move from PositionIn value and disappear with PositionOut value. In my example - from Bottom to Bottom

Configuration

Version: Rg.Plugins.Popup 2.1.0

Platform:

  • 📱 iOS - Simulator v16.1
  • 🤖 Android Emulator v33
  • 🐒 Xamarin.Forms v5.0.0.2478
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant