Skip to content

Commit 35aa725

Browse files
authored
Update SfPullToRefresh.cs
1 parent 9c2e5bf commit 35aa725

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

maui/src/PullToRefresh/SfPullToRefresh.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,12 +1474,13 @@ void PullableContentLayoutAnimation(View element)
14741474
Animation animation = new Animation(
14751475
callback: d =>
14761476
{
1477-
#if ANDROID
1478-
(element as IView).Measure(Width, Height);
1479-
#elif IOS && !MACCATALYST
1477+
#if IOS && !MACCATALYST
14801478

14811479
(element as IView).Arrange(new Rect(0, d, Width, _previousBounds.Height));
14821480
#else
1481+
#if ANDROID
1482+
(element as IView).Measure(Width, Height);
1483+
#endif
14831484
(element as IView).Arrange(new Rect(0, d, Width, Height));
14841485
#endif
14851486
},

0 commit comments

Comments
 (0)