@@ -71,7 +71,7 @@ public void PushTransitionAnimationIndex(int currentIndex,
7171 UIView . Animate (
7272 duration : duration ,
7373 delay : 0 ,
74- options : default ( UIViewAnimationOptions ) ,
74+ options : UIViewAnimationOptions . TransitionNone ,
7575 animation : ( ) =>
7676 {
7777 view . LayoutIfNeeded ( ) ;
@@ -117,7 +117,7 @@ public void PopTransitionAnimationContantOffset(nfloat offset, UIImage backImage
117117 copyCell . BackContainerView . AnimationCornerRadius ( copyCell . BackContainerView . Layer . CornerRadius , duration : duration ) ;
118118 copyCell . FrontContainerView . AnimationCornerRadius ( copyCell . FrontContainerView . Layer . CornerRadius , duration : duration ) ;
119119
120- UIView . Animate ( duration : duration , delay : 0 , options : default ( UIViewAnimationOptions ) , animation : ( ) =>
120+ UIView . Animate ( duration : duration , delay : 0 , options : UIViewAnimationOptions . TransitionNone , animation : ( ) =>
121121 {
122122 if ( rightCell != null )
123123 {
@@ -256,7 +256,7 @@ private void OpenFrontViewConfigureConstraints(BasePageCollectionCell cell, nflo
256256 var widthConstraint = cell . FrontContainerView . GetConstraint ( NSLayoutAttribute . Width ) ;
257257 if ( widthConstraint != null )
258258 {
259- width = frontViewFrame . Size . Width ;
259+ width = widthConstraint . Constant ;
260260
261261 widthConstraint . Constant = view . Bounds . Size . Width ;
262262 }
@@ -281,7 +281,7 @@ private void OpenBackViewConfigureConstraints(BasePageCollectionCell cell, nfloa
281281 var widthConstraint = cell . BackContainerView . GetConstraint ( NSLayoutAttribute . Width ) ;
282282 if ( widthConstraint != null )
283283 {
284- width = backViewFrame . Size . Width ;
284+ width = widthConstraint . Constant ;
285285
286286 widthConstraint . Constant = view . Bounds . Size . Width ;
287287 }
0 commit comments