Skip to content

Commit 69e8907

Browse files
committed
[iOS] SwipeView: Fix reenabling parent scrolling after cancelled swipe
1 parent 7eea7e7 commit 69e8907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/src/Platform/iOS/MauiSwipeView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ void IsParentScrollEnabled(bool scrollEnabled)
517517
{
518518
var swipeThresholdPercent = MinimumOpenSwipeThresholdPercentage * GetSwipeThreshold();
519519

520-
if (Math.Abs(_swipeOffset) < swipeThresholdPercent)
520+
if (!scrollEnabled && Math.Abs(_swipeOffset) < swipeThresholdPercent)
521521
return;
522522

523523
if (scrollEnabled == _isScrollEnabled)

0 commit comments

Comments
 (0)