MoveAnimation does not work on iOS
bbenetskyy opened this issue ยท 0 comments
bbenetskyy commented
๐ 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